{"action":"created","issue":{"url":"https://api.github.com/repos/bcoe/nyc/issues/98","labels_url":"https://api.github.com/repos/bcoe/nyc/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/bcoe/nyc/issues/98/comments","events_url":"https://api.github.com/repos/bcoe/nyc/issues/98/events","html_url":"https://github.com/bcoe/nyc/pull/98","id":122253792,"number":98,"title":"Fix ability to self-test using `npm link`.","user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-15T11:39:18Z","updated_at":"2015-12-15T12:24:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bcoe/nyc/pulls/98","html_url":"https://github.com/bcoe/nyc/pull/98","diff_url":"https://github.com/bcoe/nyc/pull/98.diff","patch_url":"https://github.com/bcoe/nyc/pull/98.patch"},"body":"We had two problems. \n\n1. Our attempt to resolve the module passed to the `--require` \nflag was grabbing from `nyc/node_modules. A switch to `require-from` solved that.\n\n2. We were collecting source-map information from every file required. This\ncaused bad things to happen when convert-source-map saw it's source-map-comment\nregular expression and thought it was an actual source map comment. Only\ncollecting source map information when needed made things run faster and \nfixed the problem"},"comment":{"url":"https://api.github.com/repos/bcoe/nyc/issues/comments/164749093","html_url":"https://github.com/bcoe/nyc/pull/98#issuecomment-164749093","issue_url":"https://api.github.com/repos/bcoe/nyc/issues/98","id":164749093,"user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T12:24:57Z","updated_at":"2015-12-15T12:24:57Z","body":"@novemberborn - updated with your feedback"}}