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:
gulp.task('html.rebuild', $.synchronize.sync([
'html.clean',
'html.build'
]));
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.
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.