From 847823f478d6c31ce38d038a323c79fa648dbc37 Mon Sep 17 00:00:00 2001 From: "Mr. Hyde" Date: Fri, 5 Sep 2014 03:51:14 +0200 Subject: [PATCH] - [grunt] since we cant decide what build was done last time, lets run processhtml only for builds --- tasks/grunt-contrib-watch.coffee | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tasks/grunt-contrib-watch.coffee b/tasks/grunt-contrib-watch.coffee index 30ddba35..5fea7d35 100644 --- a/tasks/grunt-contrib-watch.coffee +++ b/tasks/grunt-contrib-watch.coffee @@ -7,10 +7,13 @@ module.exports = -> @config 'watch', scss: files: ['<%= path.source.styles %>/{,**/}*.scss'] - tasks: ['sass', 'autoprefixer'] + tasks: [ + 'sass' + 'autoprefixer' + ] sprite: files: ['<%= path.source.sprites %>/{,**/}*.png'] tasks: ['sprite'] nunjucks: files: ['<%= path.source.layouts %>/{,**/}*.nj'] - tasks: ['nunjucks', 'processhtml'] \ No newline at end of file + tasks: ['nunjucks'] \ No newline at end of file