|  | @@ -76,7 +76,17 @@ module.exports = function(grunt) {
 | 
	
		
			
				|  |  |          		jshintrc:'.jshintrc'
 | 
	
		
			
				|  |  |          	},
 | 
	
		
			
				|  |  |          	build:['global/js/cloud/*.min.js']
 | 
	
		
			
				|  |  | -        }
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  | +        watch: {
 | 
	
		
			
				|  |  | +        	  scripts: {
 | 
	
		
			
				|  |  | +        	    files: ['**/*.js'],
 | 
	
		
			
				|  |  | +        	    tasks: ['concat','uglify','jshint'],
 | 
	
		
			
				|  |  | +        	    options: {
 | 
	
		
			
				|  |  | +        	      spawn: false,
 | 
	
		
			
				|  |  | +        	    },
 | 
	
		
			
				|  |  | +        	  },
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          
 | 
	
		
			
				|  |  |          
 | 
	
	
		
			
				|  | @@ -88,8 +98,9 @@ module.exports = function(grunt) {
 | 
	
		
			
				|  |  |      grunt.loadNpmTasks('grunt-contrib-concat');
 | 
	
		
			
				|  |  |      grunt.loadNpmTasks('grunt-contrib-uglify');
 | 
	
		
			
				|  |  |      grunt.loadNpmTasks('grunt-contrib-jshint');
 | 
	
		
			
				|  |  | +    grunt.loadNpmTasks('grunt-contrib-watch');
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      //注册grunt默认任务
 | 
	
		
			
				|  |  | -    grunt.registerTask('default', ['concat','uglify','jshint']);
 | 
	
		
			
				|  |  | +    grunt.registerTask('default', ['concat','uglify','jshint','watch']);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  };
 |