From 76a24cd80d7eee6db4c81cc1feafd092877ca89a Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 30 Sep 2014 18:10:48 +0900 Subject: [PATCH] Adding watch task --- client/gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/gulpfile.js b/client/gulpfile.js index 853f9ad..8b869f2 100644 --- a/client/gulpfile.js +++ b/client/gulpfile.js @@ -62,8 +62,11 @@ gulp.task('html_release', function() { .pipe(gulp.dest('./')); }); +gulp.task('watch', function() { + gulp.watch(paths.html, ['html_debug']); +}); gulp.task('debug', ['lint', 'html_debug']); gulp.task('release', ['lint', 'js', 'css', 'html_release']); -gulp.task('default', ['debug']); +gulp.task('default', ['html_debug', 'watch']);