2017-08-21 20:19:45 +00:00
|
|
|
var gulp = require('gulp');
|
|
|
|
|
2017-08-22 16:56:30 +00:00
|
|
|
var watchConfig = require('../config.js').watchConfig;
|
|
|
|
|
2017-08-21 20:19:45 +00:00
|
|
|
|
|
|
|
gulp.task('watch', ['watch:scripts', 'watch:styles']);
|
|
|
|
|
|
|
|
gulp.task('watch:scripts', function() {
|
2017-08-22 16:56:30 +00:00
|
|
|
return gulp.watch(watchConfig.scriptsGlob, ['scripts:app']);
|
2017-08-21 20:19:45 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
gulp.task('watch:styles', function() {
|
2017-08-22 16:56:30 +00:00
|
|
|
return gulp.watch(watchConfig.stylesGlob, ['styles:app']);
|
2017-08-21 20:19:45 +00:00
|
|
|
});
|