Yes, I very much dislike the use of "NODE_ENV" at all actually. Configuration should be more granular than that. 

http://12factor.net/config