Skip to content

Commit ef1074e

Browse files
committed
create gulp watch task
1 parent 171bd75 commit ef1074e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gulpfile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,9 @@ gulp.task('sass', function () {
3333
.pipe(gulp.dest('./dist'));
3434
});
3535

36+
gulp.task('watch', function() {
37+
gulp.watch(['js'], ['compress']);
38+
gulp.watch(['_sass'], ['sass']);
39+
});
40+
3641
gulp.task('default', ['compress', 'sass']);

0 commit comments

Comments
 (0)