mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 09:40:23 -05:00
Run js-public and js-dashboard when any js files change in the traditional-bootstrap gulpfile watch task
This commit is contained in:
parent
45e39e075e
commit
5e9c5b39c9
1 changed files with 1 additions and 2 deletions
3
traditional-bootstrap/gulpfile.js
vendored
3
traditional-bootstrap/gulpfile.js
vendored
|
@ -203,8 +203,7 @@ gulp.task("watch", () => {
|
|||
});
|
||||
|
||||
gulp.watch([ "app/**/*.php", "routes/**/*.php", "resources/views/**/*.blade.php" ], gulp.series(browserSyncReload));
|
||||
gulp.watch(jsPublic, gulp.series("js-public", browserSyncReload));
|
||||
gulp.watch("resources/assets/js/**/dashboard.js", gulp.series("js-dashboard", browserSyncReload));
|
||||
gulp.watch("resources/assets/js/**/*.js", gulp.series(gulp.parallel("js-public", "js-dashboard"), browserSyncReload));
|
||||
gulp.watch("resources/assets/sass/**/*.scss", gulp.parallel("sass-public", "sass-dashboard", "sass-error"));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue