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

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

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