1

I'm new to Node.js. For each modification in code, I have to restart server to make it work. I wonder if there are any ways to make it work without restarting server. Thanks.

Sky
  • 7,343
  • 8
  • 31
  • 42
  • This question is a possible duplicate of: [Auto-reload of files in Node.js](http://stackoverflow.com/questions/1972242/auto-reload-of-files-in-node-js) – hexacyanide Jan 25 '14 at 17:15

2 Answers2

0

Check out this npm plugin: https://npmjs.org/package/devreload

There is also a very cool NodeJS based framework called Meteor which does all of this automatically. It is very easy to learn, and does realtime code & content updates. I suggest looking into that as well.

Good luck.

mjkaufer
  • 4,047
  • 5
  • 27
  • 55
0

I have not come across any which deploys server side scripts without restarting the server. There are node packages like Forever, Nodemon which listens to changes and deploys automatically.

Jayram
  • 18,820
  • 6
  • 51
  • 68