diff --git a/gulpfile.js b/gulpfile.js index ce1c007..88bae83 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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'); }); diff --git a/package.json b/package.json index 0badc9b..28c5066 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "gulp-util": "^3.0.7" }, "scripts": { - "build": "gulp" + "build": "gulp", + "watch": "gulp watch" } }