You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I using this plug-in and gulp-notify, which includes node-notifier. When I run a tasks that doesn't produce any new files, because newer doesn't see any changes and jumps out of the task. I would like to have a notification saying "Done - no new files". All it does now is end without notification. Is this possible?
Quick code Example:
gulp.task('copy', function(){
return gulp.src(path.app)
.pipe(newer(path.dist)) - insert code to notify if all the files are the same...
.pipe(gulp.dest(path.dist))
.pipe(notify({message: 'Copy task done', onLast: true}));
});
The text was updated successfully, but these errors were encountered:
I using this plug-in and gulp-notify, which includes node-notifier. When I run a tasks that doesn't produce any new files, because newer doesn't see any changes and jumps out of the task. I would like to have a notification saying "Done - no new files". All it does now is end without notification. Is this possible?
Quick code Example:
gulp.task('copy', function(){
return gulp.src(path.app)
.pipe(newer(path.dist)) - insert code to notify if all the files are the same...
.pipe(gulp.dest(path.dist))
.pipe(notify({message: 'Copy task done', onLast: true}));
});
The text was updated successfully, but these errors were encountered: