Grunt Task to run a Node.js Server while developing, auto-reloading on change.
- Requires Grunt >= 0.4.0
- Uses it's own internal "watch", no need to list in
grunt-contrib-watch
as a target - No need to modify/export your server or alter your applications code.**
$ npm install grunt-develop
module.exports = function(grunt) {
grunt.initConfig({
develop: {
server: {
file: 'app.js'
}
}
});
grunt.loadNpmTasks('grunt-develop');
grunt.registerTask('default', ['develop']);
};
$ grunt
Copyright (c) 2013, Edward Hotchkiss.