Cluster your server
npm install clustered
Manual test available. Run the test script
NODE_ENV=test node test/manual
followed by a number of cURL requests
curl http://localhost:5545/
which will trigger an exception. The single process should die, then a new process forked in it's place, along with logging.
This project uses prettier for code formatting and linting. You can set prettier
up to auto format code in your editor,
or manually format code before committing with yarn prettier
.
Paul Serby follow me on twitter @serby
Licensed under the ISC