From 87e1ce9268a3cab2d7f4531d23d2b38caea18602 Mon Sep 17 00:00:00 2001 From: Vytenis Date: Mon, 10 Oct 2016 13:43:15 +0300 Subject: [PATCH] Update _gulpfile.js Closes #57 --- app/templates/_gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/_gulpfile.js b/app/templates/_gulpfile.js index 8de6a85..71fed90 100644 --- a/app/templates/_gulpfile.js +++ b/app/templates/_gulpfile.js @@ -188,7 +188,7 @@ gulp.task('extras', function() { }); // Watch -gulp.task('watch', ['html', 'fonts', 'bundle'], function() { +gulp.task('watch', [<% if (includeJade) { %>'jade'<% } else {%>'html'<% } %>, 'fonts', 'bundle'], function() { browserSync({ notify: false, @@ -218,7 +218,7 @@ gulp.task('watch', ['html', 'fonts', 'bundle'], function() { }); // Build -gulp.task('build', ['html', 'buildBundle', 'images', 'fonts', 'extras'], function() { +gulp.task('build', [<% if (includeJade) { %>'jade'<% } else {%>'html'<% } %>, 'buildBundle', 'images', 'fonts', 'extras'], function() { gulp.src('dist/scripts/app.js') .pipe($.uglify()) .pipe($.stripDebug())