mirror of https://github.com/snachodog/mybuddy.git
20 lines
468 B
JavaScript
20 lines
468 B
JavaScript
var gulp = require('gulp');
|
|
|
|
|
|
gulp.task('watch', ['watch:scripts', 'watch:styles']);
|
|
|
|
gulp.task('watch:scripts', function() {
|
|
return gulp.watch([
|
|
'**/static/js/**/*.js',
|
|
'babyblotter/static_site/js/**/*.js',
|
|
'!babyblotter/static/js/'
|
|
], ['scripts:app']);
|
|
});
|
|
|
|
gulp.task('watch:styles', function() {
|
|
return gulp.watch([
|
|
'**/static/scss/**/*.scss',
|
|
'babyblotter/static_site/scss/**/*.scss'
|
|
], ['styles:app']);
|
|
});
|