This should be easy... I am trying to create a notification that the del is done.
Del = https://www.npmjs.com/package/del
Notify = https://www.npmjs.com/package/gulp-notify
I have:
gulp.task('clean', function() {
return del(['distFolder']);
});
That clears everything in the distFolder before it gets rebuilt.
What I am trying to do is something like below:
gulp.task('clean', function() {
return del(['distFolder']).pipe(notify('Clean task finished'));
});
The above returns an error - "TypeError: del(...).pipe is not a function"