From 12b806ae5b6cb473ca116aace7917f15933ac54d Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sun, 15 Feb 2015 13:58:34 -0800 Subject: [PATCH] Clean the sass cache directory from Gruntfile --- Gruntfile.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index f0e649e..e36be22 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -66,7 +66,8 @@ module.exports = function (grunt) { }, clean: { - app: './static/app' + app: './static/app', + compass: './sass-cache' }, compass: { @@ -74,7 +75,7 @@ module.exports = function (grunt) { options: { sassDir: 'assets/style', cssDir: 'static/style', - cacheDir: 'tmp/sass-cache', + cacheDir: './sass-cache', importPath: ['vendor/normalize-scss'] } } @@ -101,10 +102,11 @@ module.exports = function (grunt) { grunt.registerTask('test', ['jshint', 'jscs', 'karma']); grunt.registerTask('dev', ['default']); + grunt.registerTask('style', ['compass', 'clean:compass']); grunt.registerTask('default', [ - 'clean', - 'compass', + 'clean:app', + 'style', 'handlebars', 'copy', 'requirejs',