Adding watcher task to watch /src/js/ too and run „gulp script“ task
onChange
This commit is contained in:
koenemann 2016-12-02 09:35:09 +01:00
parent 6c32331ade
commit a8ec9c10a4
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ gulp.task('sass', function () {
gulp.task('watch', function () {
gulp.watch('./sass/**/*.scss', ['sass']);
gulp.watch('./css/theme.css', ['cssnano']);
gulp.watch([basePaths.dev + 'js/**/*.js'], ['scripts'])
});
// Run: