| Index: gulpfile.js |
| =================================================================== |
| --- a/gulpfile.js |
| +++ b/gulpfile.js |
| @@ -21,9 +21,14 @@ |
| gulp.task("scss", function () |
| { |
| return gulp.src("./scss/main.scss") |
| .pipe(sass().on("error", sass.logError)) |
| .pipe(gulp.dest("./static/css/")); |
| }); |
| -gulp.task("default", ["scss"]); |
| +gulp.task("watch", function () |
| +{ |
| + gulp.watch("./scss/**/*.scss", ["scss"]); |
| +}); |
| + |
| +gulp.task("default", ["scss", "watch"]); |