{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-debug/issues/27","repository_url":"https://api.github.com/repos/sindresorhus/gulp-debug","labels_url":"https://api.github.com/repos/sindresorhus/gulp-debug/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-debug/issues/27/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-debug/issues/27/events","html_url":"https://github.com/sindresorhus/gulp-debug/pull/27","id":140207172,"number":27,"title":"Changes to the debug output","user":{"login":"asselin","id":911250,"avatar_url":"https://avatars.githubusercontent.com/u/911250?v=3","gravatar_id":"","url":"https://api.github.com/users/asselin","html_url":"https://github.com/asselin","followers_url":"https://api.github.com/users/asselin/followers","following_url":"https://api.github.com/users/asselin/following{/other_user}","gists_url":"https://api.github.com/users/asselin/gists{/gist_id}","starred_url":"https://api.github.com/users/asselin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asselin/subscriptions","organizations_url":"https://api.github.com/users/asselin/orgs","repos_url":"https://api.github.com/users/asselin/repos","events_url":"https://api.github.com/users/asselin/events{/privacy}","received_events_url":"https://api.github.com/users/asselin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T15:09:25Z","updated_at":"2016-03-25T20:15:38Z","closed_at":"2016-03-14T17:48:34Z","pull_request":{"url":"https://api.github.com/repos/sindresorhus/gulp-debug/pulls/27","html_url":"https://github.com/sindresorhus/gulp-debug/pull/27","diff_url":"https://github.com/sindresorhus/gulp-debug/pull/27.diff","patch_url":"https://github.com/sindresorhus/gulp-debug/pull/27.patch"},"body":"I made the following changes to the debug output\r\n* Add process.cwd and file.relative to the full output.  \r\n* Switch minimal output to display file.relative rather than the file's path relative to cwd\r\n\r\nThe code currently does not output `file.relative`; instead, it outputs `path.relative(process.cwd(), file.path)`.  This is misleading, since vinyl doesn't use that algorithm to compute file.relative (it uses `path.relative(file.base, file.path)`).  This change aligns gulp-debug with what vinyl considers to be the relative path.\r\n\r\nI also added file.relative to the full output-- I found myself switching back and forth between verbose and non-verbose when debugging because I needed the relative path as well as the other path components.  I added process.cwd() also because it plays a part in vinyl computing file.relative."},"comment":{"url":"https://api.github.com/repos/sindresorhus/gulp-debug/issues/comments/201474427","html_url":"https://github.com/sindresorhus/gulp-debug/pull/27#issuecomment-201474427","issue_url":"https://api.github.com/repos/sindresorhus/gulp-debug/issues/27","id":201474427,"user":{"login":"asselin","id":911250,"avatar_url":"https://avatars.githubusercontent.com/u/911250?v=3","gravatar_id":"","url":"https://api.github.com/users/asselin","html_url":"https://github.com/asselin","followers_url":"https://api.github.com/users/asselin/followers","following_url":"https://api.github.com/users/asselin/following{/other_user}","gists_url":"https://api.github.com/users/asselin/gists{/gist_id}","starred_url":"https://api.github.com/users/asselin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asselin/subscriptions","organizations_url":"https://api.github.com/users/asselin/orgs","repos_url":"https://api.github.com/users/asselin/repos","events_url":"https://api.github.com/users/asselin/events{/privacy}","received_events_url":"https://api.github.com/users/asselin/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T20:15:38Z","updated_at":"2016-03-25T20:15:38Z","body":"Thanks again, I went ahead and published https://github.com/PointSource/gulp-debug-streams"}}