Skip to content

Commit 24f1fc1

Browse files
committed
Merge pull request #1611 from angular-fullstack/fix/gulp-watch-jade
fix(gulp:watch): re-compile jade to .tmp
2 parents 009b789 + 18412a7 commit 24f1fc1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: app/templates/gulpfile.babel(gulp).js

+3-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,9 @@ gulp.task('watch', () => {
377377
.pipe(plugins.livereload());
378378
});
379379

380-
plugins.watch(paths.client.views)
380+
plugins.watch(paths.client.views)<% if(filters.jade) { %>
381+
.pipe(plugins.jade())
382+
.pipe(gulp.dest('.tmp'))<% } %>
381383
.pipe(plugins.plumber())
382384
.pipe(plugins.livereload());
383385

0 commit comments

Comments
 (0)