{"action":"opened","issue":{"url":"https://api.github.com/repos/s-a/iron-node/issues/98","repository_url":"https://api.github.com/repos/s-a/iron-node","labels_url":"https://api.github.com/repos/s-a/iron-node/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/s-a/iron-node/issues/98/comments","events_url":"https://api.github.com/repos/s-a/iron-node/issues/98/events","html_url":"https://github.com/s-a/iron-node/issues/98","id":139437753,"number":98,"title":"NODE_PATH environment variable is ignored","user":{"login":"ericelliott","id":364727,"avatar_url":"https://avatars.githubusercontent.com/u/364727?v=3","gravatar_id":"","url":"https://api.github.com/users/ericelliott","html_url":"https://github.com/ericelliott","followers_url":"https://api.github.com/users/ericelliott/followers","following_url":"https://api.github.com/users/ericelliott/following{/other_user}","gists_url":"https://api.github.com/users/ericelliott/gists{/gist_id}","starred_url":"https://api.github.com/users/ericelliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericelliott/subscriptions","organizations_url":"https://api.github.com/users/ericelliott/orgs","repos_url":"https://api.github.com/users/ericelliott/repos","events_url":"https://api.github.com/users/ericelliott/events{/privacy}","received_events_url":"https://api.github.com/users/ericelliott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-09T00:42:42Z","updated_at":"2016-03-09T00:42:42Z","closed_at":null,"body":"## Reproduce\r\n\r\nThe `NODE_PATH` environment variable is set correctly, but it seems to be ignored when I do this:\r\n\r\n```sh\r\n    \"debug:unit\": \"NODE_PATH=source iron-node source/test/unit/debug.js\",\r\n```\r\n\r\nThis works fine:\r\n\r\n```sh\r\n    \"test:unit\": \"NODE_PATH=source babel-node source/test/unit/index.js\",\r\n```\r\n\r\n`debug.js` looks like this:\r\n\r\n```js\r\nrequire('babel-core/register');\r\nrequire('./index.js');\r\n```\r\n\r\nAs you can see, the test directory containing `debug.js` is inside the `source` directory."}}