chore(): add npm run watch for sass files
This commit is contained in:
parent
eafcee54eb
commit
e2f0953b9b
|
@ -13,6 +13,10 @@ gulp.task('sass', function() {
|
|||
.pipe(gulp.dest('./static/css'));
|
||||
});
|
||||
|
||||
gulp.task('watch', function() {
|
||||
gulp.watch('./static/**/*.scss', ['sass']);
|
||||
});
|
||||
|
||||
gulp.task('default', function() {
|
||||
gulp.start('fonts', 'sass');
|
||||
});
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"gulp-util": "^3.0.7"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "gulp"
|
||||
"build": "gulp",
|
||||
"watch": "gulp watch"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue