node.js - how to automatically restart a node server? -


we finishing development of project, client using errors occur - crashing server.

i know register service 'upstart' script on linux, in order have node service restart when crashes.

but our server running other stuff, can't restart it. well, actually, while writing, realize have 2 questions then:

  • will 'upstart' work without having reboot? whispering yes me :)
  • if not, other option have 'respawn' node server when crashes?

yes, upstart restart process without reboot.

also, should forever.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -