proc-restart
Restart process without having process manager constantly running
Quickstart
Install package:
npm install proc-restart
Require inside of your script and call it when you want to restart it:
const restart = process
License
MIT © Konstantin Azizov