caipin 5 роки тому
батько
коміт
7b315b7797
1 змінених файлів з 11 додано та 10 видалено
  1. 11 10
      Gruntfile.js

+ 11 - 10
Gruntfile.js

@@ -78,15 +78,15 @@ module.exports = function(grunt) {
         	build:['global/js/cloud/*.min.js']
         },
         
-        watch: {
-        	  scripts: {
-        	    files: ['**/*.js'],
-        	    tasks: ['concat','uglify','jshint'],
-        	    options: {
-        	      spawn: false,
-        	    },
-        	  },
-        },
+//        watch: {
+//        	  scripts: {
+//        	    files: ['**/*.js'],
+//        	    tasks: ['concat','uglify','jshint'],
+//        	    options: {
+//        	      spawn: false,
+//        	    },
+//        	  },
+//        },
 
         
         
@@ -101,6 +101,7 @@ module.exports = function(grunt) {
     grunt.loadNpmTasks('grunt-contrib-watch');
 
     //注册grunt默认任务
-    grunt.registerTask('default', ['concat','uglify','jshint','watch']);
+    grunt.registerTask('default', ['concat','uglify','jshint']);
+    //grunt.registerTask('default', ['concat','uglify','jshint','watch']);
 
 };