2020-12-10 05:07:25 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var gulp = require('gulp');
|
|
|
|
|
|
|
|
|
2021-01-11 19:39:27 +01:00
|
|
|
const watch = gulp.task('watch', gulp.series(['dev:inject', 'dev:fonts'] ,function (done) {
|
|
|
|
gulp.watch('app/styles/**/*.less', gulp.series('dev:styles'));
|
|
|
|
gulp.watch('app/styles/**/*.css', gulp.series('dev:styles'));
|
|
|
|
gulp.watch('app/**/*.js', gulp.series('dev:scripts'));
|
|
|
|
gulp.watch('app/images/**/*', gulp.series('build:images'));
|
|
|
|
gulp.watch('bower.json', gulp.series('dev:inject'));
|
|
|
|
done();
|
|
|
|
}));
|
|
|
|
|
|
|
|
module.exports = {watch:watch}
|