Skip to content

Commit

Permalink
Added supervisor and coffee watch
Browse files Browse the repository at this point in the history
  • Loading branch information
scastillo committed Jul 26, 2012
1 parent c41d3fe commit 9bc2163
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Procfile
@@ -1 +1,2 @@
web: node web.js
web: foreman/web.sh
coffee: coffee -w -c web.coffee
5 changes: 5 additions & 0 deletions foreman/web.sh
@@ -0,0 +1,5 @@
if [ "$NODE_ENV" == "production" ]; then
node web.js
else
supervisor web.js
fi

0 comments on commit 9bc2163

Please sign in to comment.