1

Adding watch task

This commit is contained in:
Alex Yatskov 2014-09-30 18:10:48 +09:00
parent 463b838567
commit 76a24cd80d

View File

@ -62,8 +62,11 @@ gulp.task('html_release', function() {
.pipe(gulp.dest('./')); .pipe(gulp.dest('./'));
}); });
gulp.task('watch', function() {
gulp.watch(paths.html, ['html_debug']);
});
gulp.task('debug', ['lint', 'html_debug']); gulp.task('debug', ['lint', 'html_debug']);
gulp.task('release', ['lint', 'js', 'css', 'html_release']); gulp.task('release', ['lint', 'js', 'css', 'html_release']);
gulp.task('default', ['debug']); gulp.task('default', ['html_debug', 'watch']);