Answer the question
In order to leave comments, you need to log in
Node.js how to automatically raise after a fall?
I remember there was such a thing that raised a node if it fell off with an error. But unfortunately I was able to google supervisor and nodemon, but this is not quite right.
Can anyone tell me what this thread is called?
Answer the question
In order to leave comments, you need to log in
https://www.npmjs.com/package/forever
or use the features of systemd, upstart, etc.
In addition to forever, also look at PM2 . This thing is even nicer in terms of visualizing statistics on running processes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question