don't use watch anymore
This commit is contained in:
parent
41d3ee2983
commit
2b74586660
1 changed files with 1 additions and 6 deletions
|
|
@ -105,10 +105,6 @@ module.exports = function(grunt) {
|
||||||
clean: {
|
clean: {
|
||||||
options: {force: true},
|
options: {force: true},
|
||||||
generated: [tempFolder]
|
generated: [tempFolder]
|
||||||
},
|
|
||||||
watch: {
|
|
||||||
files: ["./**/*"],
|
|
||||||
tasks: ["build"]
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -116,7 +112,6 @@ module.exports = function(grunt) {
|
||||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||||
grunt.loadNpmTasks("grunt-contrib-copy");
|
grunt.loadNpmTasks("grunt-contrib-copy");
|
||||||
grunt.loadNpmTasks("grunt-contrib-uglify");
|
grunt.loadNpmTasks("grunt-contrib-uglify");
|
||||||
grunt.loadNpmTasks("grunt-contrib-watch");
|
|
||||||
grunt.loadNpmTasks('grunt-execute');
|
grunt.loadNpmTasks('grunt-execute');
|
||||||
grunt.loadNpmTasks("grunt-md2html");
|
grunt.loadNpmTasks("grunt-md2html");
|
||||||
grunt.loadNpmTasks("grunt-replace");
|
grunt.loadNpmTasks("grunt-replace");
|
||||||
|
|
@ -124,6 +119,6 @@ module.exports = function(grunt) {
|
||||||
|
|
||||||
grunt.registerTask("build", ["test", "uglify", "zip", "md2html", "replace", "copy", "clean"]);
|
grunt.registerTask("build", ["test", "uglify", "zip", "md2html", "replace", "copy", "clean"]);
|
||||||
grunt.registerTask("test", ["concat", "execute"]);
|
grunt.registerTask("test", ["concat", "execute"]);
|
||||||
grunt.registerTask("default", ["build", "watch"]);
|
grunt.registerTask("default", ["build"]);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue