linnovate/mean — pull request #595 by bcarter (2014-06-13 16:50:24+00:00)
Title: #587 moved setting the env var for port from the gruntfile to server.js

Moved setting the environment variable for port from the gruntfile to server.js

Using require(...).port to set the env in the gruntfile caused the config to be executed when the gruntfile was initialized. This caused the grunt test task to be executed in the incorrect environment.