jsalonen/backbone-boilerplate — comment on commit 466e2afe9e63bdba24c0cf86fd041f81861d3d79
File: build/tasks/server/index.js line 18
By jsalonen:

Could be if `process.env.HOST` was defined.

`console.dir(process.env)` in Heroku (cedar stack) gives:

{ PORT: '48081',
HOME: '/app' }

-> Only `HOME` and `PORT` are defined so I'm assuming that when process.env.PORT has been defined, we want the server to run publicly (0.0.0.0).

This is a practical solution that actually works on Heroku right now.