{"action":"created","issue":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/60","labels_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/60/comments","events_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/60/events","html_url":"https://github.com/heroku/heroku-buildpack-nodejs/issues/60","id":21629004,"number":60,"title":"Should `NODE_ENV` be set by the buildpack?","user":{"login":"zeke","id":2289,"avatar_url":"https://avatars.githubusercontent.com/u/2289?v=3","gravatar_id":"","url":"https://api.github.com/users/zeke","html_url":"https://github.com/zeke","followers_url":"https://api.github.com/users/zeke/followers","following_url":"https://api.github.com/users/zeke/following{/other_user}","gists_url":"https://api.github.com/users/zeke/gists{/gist_id}","starred_url":"https://api.github.com/users/zeke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeke/subscriptions","organizations_url":"https://api.github.com/users/zeke/orgs","repos_url":"https://api.github.com/users/zeke/repos","events_url":"https://api.github.com/users/zeke/events{/privacy}","received_events_url":"https://api.github.com/users/zeke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2013-10-26T06:43:07Z","updated_at":"2015-07-23T15:49:41Z","closed_at":"2014-02-06T18:22:18Z","body":"As @aseemk notes on the [Heroku Node forum](https://discussion.heroku.com/t/the-official-node-js-buildpack-is-going-on-a-diet/100/33):\r\n\r\n> This might not be new to the diet buildpack, but I just noticed that the Node docs no longer say you guys set NODE_ENV=production. Is that right? If so, may I ask why the change?\r\n\r\nDev Center has [two articles](https://devcenter.heroku.com/search/NODE_ENV) that reference NODE_ENV=production, one about Express caching and the other a sample .profile.d. script.\r\n\r\nDare I ask, should `NODE_ENV` be set automatically by the buildpack? `PATH` is currently the only environment variable it touches.\r\n\r\ncc @ddollar @dpiddy @jclem @mojodna @ryanbrainard @rwdaigle @friism "},"comment":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/comments/124148749","html_url":"https://github.com/heroku/heroku-buildpack-nodejs/issues/60#issuecomment-124148749","issue_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/60","id":124148749,"user":{"login":"aseemk","id":537838,"avatar_url":"https://avatars.githubusercontent.com/u/537838?v=3","gravatar_id":"","url":"https://api.github.com/users/aseemk","html_url":"https://github.com/aseemk","followers_url":"https://api.github.com/users/aseemk/followers","following_url":"https://api.github.com/users/aseemk/following{/other_user}","gists_url":"https://api.github.com/users/aseemk/gists{/gist_id}","starred_url":"https://api.github.com/users/aseemk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aseemk/subscriptions","organizations_url":"https://api.github.com/users/aseemk/orgs","repos_url":"https://api.github.com/users/aseemk/repos","events_url":"https://api.github.com/users/aseemk/events{/privacy}","received_events_url":"https://api.github.com/users/aseemk/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T15:49:41Z","updated_at":"2015-07-23T15:49:41Z","body":"(I'm not able to re-open this issue.)"}}