Skip to content

Commit

Permalink
use forever to restart when crashed on heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
madhums committed Apr 24, 2013
1 parent 7b96663 commit 8684662
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: node server.js
web: ./node_modules/.bin/forever -m 5 server.js
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@
, "underscore": "latest"
, "gzippo": "latest"
, "async": "latest"
, "nodemon": "latest"
, "view-helpers": "latest"
, "forever": "latest"
}
, "devDependencies": {
"supertest": "latest",
"should": "latest",
"mocha": "latest"
"supertest": "latest"
, "should": "latest"
, "mocha": "latest"
, "nodemon": "latest"
}
}

0 comments on commit 8684662

Please sign in to comment.