Skip to content

Grunt Task to run a Node.js Server while developing, auto-reloading on change.

License

Notifications You must be signed in to change notification settings

OliverJAsh/grunt-develop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-develop - Build Status

Grunt Task to run a Node.js Server while developing, auto-reloading on change.

Notes:

  • Requires Grunt >= 0.4.0
  • No need to modify/export your server or alter your applications code.**

Install

$ npm install grunt-develop

Setup Gruntfile.js:

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']);

};

Usage (Realtime development with restart on file changes)

$ grunt

License (MIT)

Copyright (c) 2013, Edward Hotchkiss.

About

Grunt Task to run a Node.js Server while developing, auto-reloading on change.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published