mirror of https://github.com/snachodog/mybuddy.git
Add a gulp watch task.
This commit is contained in:
parent
7daa691b21
commit
f62c8edf52
|
@ -0,0 +1,15 @@
|
||||||
|
var gulp = require('gulp');
|
||||||
|
|
||||||
|
|
||||||
|
gulp.task('watch', ['watch:scripts', 'watch:styles']);
|
||||||
|
|
||||||
|
gulp.task('watch:scripts', function() {
|
||||||
|
return gulp.watch([
|
||||||
|
'**/static/js/**/*.js',
|
||||||
|
'!babyblotter/static/js/'
|
||||||
|
], ['scripts:app']);
|
||||||
|
});
|
||||||
|
|
||||||
|
gulp.task('watch:styles', function() {
|
||||||
|
return gulp.watch('**/static/scss/**/*.scss', ['styles:app']);
|
||||||
|
});
|
Loading…
Reference in New Issue