grunt-multi-develop

0.0.2 • Public • Published

grunt-multi-develop

Grunt Task to run one or more 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-multi-develop

Setup Gruntfile.js:

 
module.exports = function(grunt) {
 
  grunt.initConfig({
    develop: {
      server: {
        file: 'app.js'
      },
      server2: {
        file: 'app2.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) 2018, Antonio Giordano.

Author: Antonio giordano

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i grunt-multi-develop

Weekly Downloads

0

Version

0.0.2

License

none

Unpacked Size

8.14 kB

Total Files

9

Last publish

Collaborators

  • antoniogiordano