Tweak dev and default grunt tasks
Preen is only needed when installing new components so take that out of the default task. Dev task was set up to run sass after watch which can't happen since watch loops forever, watching. Instead, do a rebuild of js and sass files before starting the watch. // FREEBIE
This commit is contained in:
parent
43aaf541c1
commit
0ec9e691d8
1 changed files with 2 additions and 2 deletions
|
@ -194,8 +194,8 @@ module.exports = function(grunt) {
|
|||
}
|
||||
});
|
||||
|
||||
grunt.registerTask('dev', ['connect', 'watch', 'sass']);
|
||||
grunt.registerTask('dev', ['default', 'connect', 'watch']);
|
||||
grunt.registerTask('test', ['jshint', 'jscs', 'connect', 'saucelabs-mocha']);
|
||||
grunt.registerTask('default', ['preen', 'concat', 'sass', 'copy']);
|
||||
grunt.registerTask('default', ['concat', 'sass', 'copy']);
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue