Clean everything before building

This commit is contained in:
Jesse Tan 2017-12-20 10:31:43 +01:00
parent 1de225c111
commit 6878cfd465

View File

@ -163,5 +163,5 @@ module.exports = function(grunt) {
grunt.registerTask('fonts', ['clean:fonts','copy:fonts']); grunt.registerTask('fonts', ['clean:fonts','copy:fonts']);
grunt.registerTask('default', ['exec:bower_update','clean:build','sass:dev','browserify:dev','exec:build_sphinx','connect','open','watch']); grunt.registerTask('default', ['exec:bower_update','clean:build','sass:dev','browserify:dev','exec:build_sphinx','connect','open','watch']);
grunt.registerTask('build', ['exec:bower_update','clean:build','sass:build','browserify:build','exec:build_sphinx']); grunt.registerTask('build', ['exec:bower_update','clean','sass:build','browserify:build','exec:build_sphinx']);
} }