├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── index.js ├── package.json └── test ├── apps ├── crash.js ├── env.js ├── fork.js ├── hello-world.js └── run.js └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mafintosh/respawn/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mafintosh/respawn/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mafintosh/respawn/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mafintosh/respawn/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mafintosh/respawn/HEAD/package.json -------------------------------------------------------------------------------- /test/apps/crash.js: -------------------------------------------------------------------------------- 1 | process.exit(1); -------------------------------------------------------------------------------- /test/apps/env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mafintosh/respawn/HEAD/test/apps/env.js -------------------------------------------------------------------------------- /test/apps/fork.js: -------------------------------------------------------------------------------- 1 | process.send({ foo: 'bar' }) 2 | -------------------------------------------------------------------------------- /test/apps/hello-world.js: -------------------------------------------------------------------------------- 1 | console.log('hello world'); -------------------------------------------------------------------------------- /test/apps/run.js: -------------------------------------------------------------------------------- 1 | var i = 0; 2 | setInterval(function() { 3 | console.log('count '+(i++)); 4 | }, 100); -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mafintosh/respawn/HEAD/test/index.js --------------------------------------------------------------------------------