crud_javascript_client_app.javascript.gulp.watch.js.ftl Maven / Gradle / Ivy
The newest version!
/*global config*/
'use strict';
var gulp = require('gulp');
gulp.task('watch', [], function () {
gulp.watch(config.css.src(), ['less']);
gulp.watch(config.index.src(), ['index']);
gulp.watch(config.html.src(), ['html']);
gulp.watch('bower.json', ['index']);
config.ngTemplates.conf().forEach(function (ngTemplatesItemConf) {
gulp.watch(ngTemplatesItemConf.src, ['ngTemplates[' + ngTemplatesItemConf.file + ']']);
});
});