Add Sass task to watch and dev
This commit is contained in:
parent
dc4ff850ed
commit
ffa0b2b94f
1 changed files with 3 additions and 3 deletions
|
@ -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']);
|
||||||
|
|
Loading…
Reference in a new issue