Aggiornato tracking degli asset css e js

This commit is contained in:
Emanuele "ToX" Toscano 2021-11-27 18:00:42 +01:00
parent 6b28c23255
commit a8d2097fa7
1 changed files with 4 additions and 1 deletions

View File

@ -506,7 +506,10 @@ exports.default = bower;
// Watch task - lanciato con `gulp watch`, resta in attesa e ogni volta che viene modificato un asset in src
// viene aggiornata la dist
gulp.task('watch', function () {
gulp.watch('assets/src/css/*.css', gulp.series(srcCSS, CSS));
gulp.watch('assets/src/css/print/*.css', gulp.series(srcCSS, CSS));
gulp.watch('assets/src/css/themes/*.css', gulp.series(srcCSS, CSS));
gulp.watch('assets/src/js/modules/*.js', gulp.series(srcJS, JS));
gulp.watch('assets/src/js/base/*.js', gulp.series(srcJS, JS));
gulp.watch('assets/src/js/functions/*.js', gulp.series(srcJS, JS));
gulp.watch('assets/src/img/*', gulp.series(images));
});