From ffa0b2b94f6b2a6302f367548c01bf453cf53410 Mon Sep 17 00:00:00 2001 From: Riley Shaw Date: Wed, 21 Jan 2015 18:55:56 -1000 Subject: [PATCH] Add Sass task to watch and dev --- Gruntfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 6f4df08f..22907259 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -128,8 +128,8 @@ module.exports = function(grunt) { } }, watch: { - files: ['<%= jshint.files %>'], - tasks: ['jshint'] + files: ['<%= jshint.files %>', './js/**/*.js', './stylesheets/**/!(manifest.css)'], + tasks: ['jshint', 'sass'] }, connect: { server: { @@ -191,7 +191,7 @@ module.exports = function(grunt) { }); }); - grunt.registerTask('dev', ['connect', 'watch']); + grunt.registerTask('dev', ['connect', 'watch', 'sass']); grunt.registerTask('test', ['jshint', 'jscs', 'connect', 'saucelabs-mocha']); grunt.registerTask('default', ['preen', 'concat', 'sass']); grunt.registerTask('build', ['compile', 'concat:curve25519', 'concat:libtextsecure']);