We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e869991 commit e769057Copy full SHA for e769057
Gruntfile.js
@@ -21,11 +21,18 @@ module.exports = function(grunt)
21
module: true
22
}
23
24
+ },
25
+ watch: {
26
+ scripts: {
27
+ files: ['jquery-fileupload.js'],
28
+ tasks: ['build']
29
+ }
30
31
});
32
33
grunt.loadNpmTasks('grunt-contrib-uglify');
34
grunt.loadNpmTasks('grunt-contrib-jshint');
35
+ grunt.loadNpmTasks('grunt-contrib-watch');
36
37
grunt.registerTask('default', 'build');
38
grunt.registerTask('build', ['jshint', 'uglify']);
package.json
@@ -4,6 +4,7 @@
4
"devDependencies": {
5
"grunt": "~0.4.1",
6
"grunt-contrib-jshint": "~0.7.2",
7
- "grunt-contrib-uglify": "~0.2.7"
+ "grunt-contrib-uglify": "~0.2.7",
8
+ "grunt-contrib-watch": "~0.2.0"
9
10
0 commit comments