Add Sass task to watch and dev

This commit is contained in:
Riley Shaw 2015-01-21 18:55:56 -10:00 committed by lilia
parent dc4ff850ed
commit ffa0b2b94f

View file

@ -128,8 +128,8 @@ module.exports = function(grunt) {
} }
}, },
watch: { watch: {
files: ['<%= jshint.files %>'], files: ['<%= jshint.files %>', './js/**/*.js', './stylesheets/**/!(manifest.css)'],
tasks: ['jshint'] tasks: ['jshint', 'sass']
}, },
connect: { connect: {
server: { 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('test', ['jshint', 'jscs', 'connect', 'saucelabs-mocha']);
grunt.registerTask('default', ['preen', 'concat', 'sass']); grunt.registerTask('default', ['preen', 'concat', 'sass']);
grunt.registerTask('build', ['compile', 'concat:curve25519', 'concat:libtextsecure']); grunt.registerTask('build', ['compile', 'concat:curve25519', 'concat:libtextsecure']);