proc-restart
v0.0.1
Published
Self restart for running node process
Readme
proc-restart
Restart process without having process manager constantly running
Quickstart
Install package:
npm install proc-restartRequire inside of your script and call it when you want to restart it:
const restart = require('proc-restart')
process.on('uncaughtException', (err) => {
console.error('Error occured:', err)
restart()
})License
MIT © Konstantin Azizov
