diff --git a/README.md b/README.md index b56472d..96856fb 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ It is easy to use var respawn = require('respawn') var monitor = respawn(['node', 'server.js'], { + name: 'test', // set monitor name env: {ENV_VAR:'test'}, // set env vars cwd: '.', // set cwd maxRestarts:10, // how many restarts are allowed within 60s