Rename gulp task: webpack:watch → watch` and also monitor subdirectories

This commit is contained in:
Paris Kasidiaris
2018-02-06 10:28:34 +02:00
parent d0f45fee25
commit 182426dd0f
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -192,8 +192,8 @@ gulp.task('webpack', ['build'], function() {
.pipe(gulp.dest('demo/dist/'));
});
gulp.task('webpack:watch', ['webpack'], () => {
gulp.watch('./src/*', ['webpack']);
gulp.task('watch', ['webpack'], () => {
gulp.watch(['./src/*', './src/**/*'], ['webpack']);
});
/**