Commit 5831386b authored by Hunter Loftis's avatar Hunter Loftis

Merge pull request #258 from SonicHedgehog/node-env-runtime

Default to NODE_ENV=production during runtime
parents 96a0d3d2 a5051ca1
# Node.js Buildpack Changelog # Node.js Buildpack Changelog
## Upcoming
- Fix not defaulting to `NODE_ENV=production` during runtime
## v79 (2015-08-10) ## v79 (2015-08-10)
Supports WEB_CONCURRENCY for Performance-M dynos Supports WEB_CONCURRENCY for Performance-M dynos
......
...@@ -30,6 +30,7 @@ detect_memory() { ...@@ -30,6 +30,7 @@ detect_memory() {
export PATH="$HOME/.heroku/node/bin:$HOME/bin:$HOME/node_modules/.bin:$PATH" export PATH="$HOME/.heroku/node/bin:$HOME/bin:$HOME/node_modules/.bin:$PATH"
export NODE_HOME="$HOME/.heroku/node" export NODE_HOME="$HOME/.heroku/node"
export NODE_ENV=${NODE_ENV:-production}
calculate_concurrency calculate_concurrency
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment