substack/ploy — pull request #24 by akoenig (2014-04-19 19:44:07+00:00)
Title: Fixed "unhandled 'error' event" when using env variables in "npm start".

I had a really strange problem when using env variables within my "npm start" declarations.

Something like:

{
"scripts": {
"start": {
"foo.com": "NODE_ENV=production node app.js"
}
}
}

caused an "unhandled 'error' event". This patch fixes this problem.