fixed watch task issue

This commit is contained in:
Roman Gotsiy 2015-10-15 19:57:47 +03:00
parent 99e515c2aa
commit bb5eb498fe

View File

@ -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);
});