From 8a3e8423d37f5930ed8f5b465672aa0afd5eb3d9 Mon Sep 17 00:00:00 2001 From: Edin Dazdarevic Date: Mon, 16 Oct 2017 14:53:30 +0200 Subject: [PATCH] Add gulp watch command --- Gulpfile.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gulpfile.js b/Gulpfile.js index 9728d9e..89ae54e 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -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']); +});