Skip to content

Commit

Permalink
fix(gulp:watch): re-compile jade to .tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 committed Feb 5, 2016
1 parent 009b789 commit 18412a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/templates/gulpfile.babel(gulp).js
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@ gulp.task('watch', () => {
.pipe(plugins.livereload());
});

plugins.watch(paths.client.views)
plugins.watch(paths.client.views)<% if(filters.jade) { %>
.pipe(plugins.jade())
.pipe(gulp.dest('.tmp'))<% } %>
.pipe(plugins.plumber())
.pipe(plugins.livereload());

Expand Down

0 comments on commit 18412a7

Please sign in to comment.