Closed luxalpa closed 8 years ago
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.
del.sync
EDIT: Now it works. I must have made some weird mistake. Sorry. Disregard/delete this.
using something like this:
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.