summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendrik Leppelsack <hendrik@leppelsack.de>2016-03-08 18:33:08 +0100
committerHendrik Leppelsack <hendrik@leppelsack.de>2016-03-09 11:14:50 +0100
commit297d8157455b68a7fe8c5819b7c92fd9b82019ae (patch)
treec1df1aad65e5d0d87c6f869498e43d102791a0ac
parent4a9ffbf4f3b0b80be67a66a2883965f181e064cc (diff)
initial compile on watch
-rw-r--r--gulpfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 436371e3..852a627b 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -16,7 +16,7 @@ gulp.task('js', function() {
.pipe(gulp.dest('js/public'));
});
-gulp.task('watch', function() {
+gulp.task('watch', ['js'], function() {
gulp.watch('js/**/*.js', ['js']);
});