Add gulp watch command
This commit is contained in:
@@ -55,3 +55,7 @@ gulp.task('cdn', () => {
|
||||
|
||||
gulp.task('copy', ['copy:images', 'copy:html', 'copy:fonts'])
|
||||
gulp.task('build', ['styles', 'scripts', 'copy']);
|
||||
|
||||
gulp.task('watch', function() {
|
||||
gulp.watch(['index.html', 'js/**/*.js', 'css/**/*.css'], ['build']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user