Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
8389e76625
11
gulpfile.js
11
gulpfile.js
|
@ -502,3 +502,14 @@ exports.srcCSS = srcCSS;
|
|||
exports.bower = bower;
|
||||
exports.release = release;
|
||||
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/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));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue