{"action":"created","issue":{"url":"https://api.github.com/repos/duojs/duo/issues/461","labels_url":"https://api.github.com/repos/duojs/duo/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/duojs/duo/issues/461/comments","events_url":"https://api.github.com/repos/duojs/duo/issues/461/events","html_url":"https://github.com/duojs/duo/pull/461","id":70779719,"number":461,"title":"Adds log for written files","user":{"login":"dominicbarnes","id":160197,"avatar_url":"https://avatars.githubusercontent.com/u/160197?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicbarnes","html_url":"https://github.com/dominicbarnes","followers_url":"https://api.github.com/users/dominicbarnes/followers","following_url":"https://api.github.com/users/dominicbarnes/following{/other_user}","gists_url":"https://api.github.com/users/dominicbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbarnes/subscriptions","organizations_url":"https://api.github.com/users/dominicbarnes/orgs","repos_url":"https://api.github.com/users/dominicbarnes/repos","events_url":"https://api.github.com/users/dominicbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbarnes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-24T19:59:20Z","updated_at":"2015-04-29T23:45:24Z","closed_at":"2015-04-29T23:37:58Z","pull_request":{"url":"https://api.github.com/repos/duojs/duo/pulls/461","html_url":"https://github.com/duojs/duo/pull/461","diff_url":"https://github.com/duojs/duo/pull/461.diff","patch_url":"https://github.com/duojs/duo/pull/461.patch"},"body":"This adds a \"write\" event internally that is trigged after writing a file. The first use-case is obvious, it shows when the entry file was successfully written. Now that external source-maps are a thing, this will now show when _that_ write is successful too.\r\n\r\n## Current\r\n\r\n```sh\r\n$ duo index.js\r\n\r\n     building : index.js\r\n        using : compatibility\r\n        using : stoj\r\n        built : index.js\r\n\r\n```\r\n\r\n## Now\r\n\r\n```sh\r\n$ duo index.js\r\n\r\n       building : index.js\r\n          using : compatibility\r\n          using : stoj\r\n          built : index.js\r\n        written : index.js\r\n\r\n```\r\n\r\n## Now (with external source-map)\r\n\r\n```sh\r\n$ duo --external-source-maps index.js\r\n\r\n     building : index.js\r\n        using : compatibility\r\n        using : stoj\r\n        built : index.js\r\n      written : index.js\r\n      written : index.js.map\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/duojs/duo/issues/comments/97615394","html_url":"https://github.com/duojs/duo/pull/461#issuecomment-97615394","issue_url":"https://api.github.com/repos/duojs/duo/issues/461","id":97615394,"user":{"login":"dominicbarnes","id":160197,"avatar_url":"https://avatars.githubusercontent.com/u/160197?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicbarnes","html_url":"https://github.com/dominicbarnes","followers_url":"https://api.github.com/users/dominicbarnes/followers","following_url":"https://api.github.com/users/dominicbarnes/following{/other_user}","gists_url":"https://api.github.com/users/dominicbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbarnes/subscriptions","organizations_url":"https://api.github.com/users/dominicbarnes/orgs","repos_url":"https://api.github.com/users/dominicbarnes/repos","events_url":"https://api.github.com/users/dominicbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbarnes/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T23:45:24Z","updated_at":"2015-04-29T23:45:24Z","body":"@matthewmueller bbaabbef14e635e13fdc436557def36e2926cfad"}}