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) {
1919 src : 'jquery.mousewheel.js' ,
2020 dest : 'build/jquery.mousewheel.min.js'
2121 }
22+ } ,
23+ connect : {
24+ server : {
25+ options : {
26+ hostname : '*' ,
27+ directory : '.' ,
28+ keepalive : true
29+ }
30+ }
2231 }
2332 } ) ;
2433
2534 // Load the plugin that provides the 'uglify' task.
2635 grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
2736 grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
37+ grunt . loadNpmTasks ( 'grunt-contrib-connect' ) ;
2838
2939 // Default task(s).
3040 grunt . registerTask ( 'default' , [ 'jshint' , 'uglify' ] ) ;
Original file line number Diff line number Diff line change 2929 "devDependencies" : {
3030 "grunt" : " ~0.4.1" ,
3131 "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"
3334 },
3435 "readmeFilename" : " README.markdown" ,
3536 "directories" : {
You can’t perform that action at this time.
0 commit comments