2017-08-21 20:19:45 +00:00
|
|
|
var gulp = require('gulp');
|
|
|
|
|
|
|
|
|
|
|
|
gulp.task('watch', ['watch:scripts', 'watch:styles']);
|
|
|
|
|
|
|
|
gulp.task('watch:scripts', function() {
|
|
|
|
return gulp.watch([
|
|
|
|
'**/static/js/**/*.js',
|
2017-08-21 20:35:11 +00:00
|
|
|
'babyblotter/static_site/js/**/*.js',
|
2017-08-21 20:19:45 +00:00
|
|
|
'!babyblotter/static/js/'
|
|
|
|
], ['scripts:app']);
|
|
|
|
});
|
|
|
|
|
|
|
|
gulp.task('watch:styles', function() {
|
2017-08-21 20:35:11 +00:00
|
|
|
return gulp.watch([
|
|
|
|
'**/static/scss/**/*.scss',
|
|
|
|
'babyblotter/static_site/scss/**/*.scss'
|
|
|
|
], ['styles:app']);
|
2017-08-21 20:19:45 +00:00
|
|
|
});
|