diff --git a/build/tasks/watch.js b/build/tasks/watch.js index ba69bc83..dea14127 100644 --- a/build/tasks/watch.js +++ b/build/tasks/watch.js @@ -7,8 +7,8 @@ function changed(event) { } gulp.task('watch', ['bundle'], function () { - gulp.watch([ paths.source ], [ 'bundleSfx', browserSync.reload ]).on('change', changed); - gulp.watch([ paths.html ], [ 'bundleSfx', browserSync.reload]).on('change', changed); - gulp.watch([ paths.css ], [ 'bundleSfx', browserSync.reload]).on('change', changed); + gulp.watch([ paths.source ], [ 'bundle', browserSync.reload ]).on('change', changed); + gulp.watch([ paths.html ], [ 'bundle', browserSync.reload]).on('change', changed); + gulp.watch([ paths.css ], [ 'bundle', browserSync.reload]).on('change', changed); gulp.watch([ paths.demo ], [ '', browserSync.reload ]).on('change', changed); });