JavaScript
Switch branches/tags
Nothing to show
Clone or download
Image Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Image examples
Image src
Image .gitignore
Image .travis.yml
Image LICENSE
Image README.md
Image package-lock.json
Image package.json

README.md

Forver process

forever-process makes sure that your child process scripts will run forever.

Simple usage

const {ForeverChildProcess} = require('forever-process');
const foreverChildProcess = new ForeverChildProcess();

foreverChildProcess.on('child' , (child)=>{
    child.on('data' , (msg)=>{
        console.log(msg.toString())
    })
})
foreverChildProcess.fork(`${__dirname}/fail-process`);

License

MIT