Skip to content

Commit 9fdf2af

Browse files
committed
Added a watch task to gulpfile.js
1 parent fa484bf commit 9fdf2af

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

gulpfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,9 @@ gulp.task('minify',function(){
4545
});
4646

4747

48-
gulp.task('default',['minify','bootstrap']);
48+
gulp.task('default',['minify','bootstrap']);
49+
50+
51+
gulp.task('watch', function() {
52+
gulp.watch('./src/**/*', ['default']);
53+
});

0 commit comments

Comments
 (0)