scottmotte/dotenv — pull request #25 by Ventis (2014-04-17 13:51:51+00:00)
Title: When NODE_ENV is set in .env it should load the appropriate .env.environment file

Like you asked I added a test for this scenario.