The Readme says "return the promise from del" but run-sequence doesn't actually support promises #80
Closed
Description
EDIT: Now it works. I must have made some weird mistake. Sorry. Disregard/delete this.
using something like this:
gulp.task('clean', () => {
return del(["www/**/*", "www-release/**/*"]);
});
gulp.task('rebuild', function() {
runSequence("clean", "build");
});
doesn't actually work, because it doesn't wait for del (promise) to be done before starting the build task. It does work using del.sync
though, but then again, that doesn't require run-sequence.
Metadata
Assignees
Labels
No labels