File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,22 @@ module.exports = function(grunt) {
19
19
src : 'jquery.mousewheel.js' ,
20
20
dest : 'build/jquery.mousewheel.min.js'
21
21
}
22
+ } ,
23
+ connect : {
24
+ server : {
25
+ options : {
26
+ hostname : '*' ,
27
+ directory : '.' ,
28
+ keepalive : true
29
+ }
30
+ }
22
31
}
23
32
} ) ;
24
33
25
34
// Load the plugin that provides the 'uglify' task.
26
35
grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
27
36
grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
37
+ grunt . loadNpmTasks ( 'grunt-contrib-connect' ) ;
28
38
29
39
// Default task(s).
30
40
grunt . registerTask ( 'default' , [ 'jshint' , 'uglify' ] ) ;
Original file line number Diff line number Diff line change 29
29
"devDependencies" : {
30
30
"grunt" : " ~0.4.1" ,
31
31
"grunt-contrib-jshint" : " ~0.6.4" ,
32
- "grunt-contrib-uglify" : " ~0.2.4"
32
+ "grunt-contrib-uglify" : " ~0.2.4" ,
33
+ "grunt-contrib-connect" : " ~0.5.0"
33
34
},
34
35
"readmeFilename" : " README.markdown" ,
35
36
"directories" : {
You can’t perform that action at this time.
0 commit comments