Grunt Task to run a Node.js Server while developing, auto-reloading on change.
- Requires Grunt >= 0.4.0
- 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');
// if you are also using "watch", place after
grunt.registerTask('default', ['develop','watch']);
};
$ grunt
Copyright (c) 2013, Edward Hotchkiss.