-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synced tasks not waiting for complete finish before continuing #7
Comments
can i see your |
gulp.src(src)
.pipe($.newer(dest))
.pipe($.using({prefix: 'html.build', color: 'yellow'}))
.pipe($.debug({title: 'html.build'}))
.pipe(gulp.dest(dest)) |
ok, maybe I've got it. you can choose from 2 way below. return Stream
do callback
if you choose |
Returning the stream didn't fix it, but I could try the callback method and see if that helps. |
If I do a delete, then a write, sometimes the write errors because the file being written is also being deleted at the same time.
Example:
In this example, clean removes the file and build will create the file. Clean is finishing up at the time build runs. It doesn't always happen, but it happens enough to be bothersome; especially when I run a bunch of async synced tasks at once.
The text was updated successfully, but these errors were encountered: