'use strict';
var gulp = require('gulp');
gulp.task('watch', ['wiredep', 'injector:css', 'injector:js'] ,function () {
gulp.watch('src/{app,components}/**/*.<%= props.cssPreprocessor.extension %>', ['injector:css']);
if props.jsPreprocessor.extension === 'js'
gulp.watch('src/{app,components}/**/*.js', ['injector:js']);
else
gulp.watch('src/{app,components}/**/*.{js,<%= props.jsPreprocessor.extension %>}', ['injector:js']);
endif
gulp.watch('src/assets/images/**/*', ['images']);
gulp.watch('bower.json', ['wiredep']);
});