Add gulp watch command

This commit is contained in:
Edin Dazdarevic
2017-10-16 14:53:30 +02:00
parent 8cbcb64779
commit 8a3e8423d3

View File

@@ -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']);
});