Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xeaone committed Feb 24, 2016
1 parent c6cbaa7 commit e886aff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e886aff

Please sign in to comment.