{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/12","id":34106563,"html_url":"https://github.com/ferlores/mochify-istanbul/pull/12","diff_url":"https://github.com/ferlores/mochify-istanbul/pull/12.diff","patch_url":"https://github.com/ferlores/mochify-istanbul/pull/12.patch","issue_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/12","number":12,"state":"open","locked":false,"title":"Allow report generation on watchified updates","user":{"login":"bbqbaron","id":7101437,"avatar_url":"https://avatars.githubusercontent.com/u/7101437?v=3","gravatar_id":"","url":"https://api.github.com/users/bbqbaron","html_url":"https://github.com/bbqbaron","followers_url":"https://api.github.com/users/bbqbaron/followers","following_url":"https://api.github.com/users/bbqbaron/following{/other_user}","gists_url":"https://api.github.com/users/bbqbaron/gists{/gist_id}","starred_url":"https://api.github.com/users/bbqbaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbqbaron/subscriptions","organizations_url":"https://api.github.com/users/bbqbaron/orgs","repos_url":"https://api.github.com/users/bbqbaron/repos","events_url":"https://api.github.com/users/bbqbaron/events{/privacy}","received_events_url":"https://api.github.com/users/bbqbaron/received_events","type":"User","site_admin":false},"body":"From [this issue](https://github.com/ferlores/mochify-istanbul/issues/10). This should allow coverage reports to be re-generated each time watchified tests are run.\r\n\r\nTwo simple changes:\r\n1. Push `writeReports` onto the wrap stream each time the bundle is reset.\r\n2. Store the array of reports outside the scope of `writeReports` so it retains the values across resets.\r\n\r\nI'm pretty new to Github etiquette and extremely open to feedback! Thank you.","created_at":"2015-04-25T13:47:47Z","updated_at":"2015-04-25T13:47:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f18ffafc32bb8fc58556d9b10a444fdec4347087","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/12/commits","review_comments_url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/12/comments","review_comment_url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/12/comments","statuses_url":"https://api.github.com/repos/ferlores/mochify-istanbul/statuses/a8aa35f998deae27a53477b550d9f157b10709e7","head":{"label":"bbqbaron:watchify","ref":"watchify","sha":"a8aa35f998deae27a53477b550d9f157b10709e7","user":{"login":"bbqbaron","id":7101437,"avatar_url":"https://avatars.githubusercontent.com/u/7101437?v=3","gravatar_id":"","url":"https://api.github.com/users/bbqbaron","html_url":"https://github.com/bbqbaron","followers_url":"https://api.github.com/users/bbqbaron/followers","following_url":"https://api.github.com/users/bbqbaron/following{/other_user}","gists_url":"https://api.github.com/users/bbqbaron/gists{/gist_id}","starred_url":"https://api.github.com/users/bbqbaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbqbaron/subscriptions","organizations_url":"https://api.github.com/users/bbqbaron/orgs","repos_url":"https://api.github.com/users/bbqbaron/repos","events_url":"https://api.github.com/users/bbqbaron/events{/privacy}","received_events_url":"https://api.github.com/users/bbqbaron/received_events","type":"User","site_admin":false},"repo":{"id":34569938,"name":"mochify-istanbul","full_name":"bbqbaron/mochify-istanbul","owner":{"login":"bbqbaron","id":7101437,"avatar_url":"https://avatars.githubusercontent.com/u/7101437?v=3","gravatar_id":"","url":"https://api.github.com/users/bbqbaron","html_url":"https://github.com/bbqbaron","followers_url":"https://api.github.com/users/bbqbaron/followers","following_url":"https://api.github.com/users/bbqbaron/following{/other_user}","gists_url":"https://api.github.com/users/bbqbaron/gists{/gist_id}","starred_url":"https://api.github.com/users/bbqbaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbqbaron/subscriptions","organizations_url":"https://api.github.com/users/bbqbaron/orgs","repos_url":"https://api.github.com/users/bbqbaron/repos","events_url":"https://api.github.com/users/bbqbaron/events{/privacy}","received_events_url":"https://api.github.com/users/bbqbaron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bbqbaron/mochify-istanbul","description":"Instrument + create reports using istanbul with the mochify stream","fork":true,"url":"https://api.github.com/repos/bbqbaron/mochify-istanbul","forks_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/forks","keys_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/teams","hooks_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/hooks","issue_events_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/issues/events{/number}","events_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/events","assignees_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/assignees{/user}","branches_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/branches{/branch}","tags_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/tags","blobs_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/statuses/{sha}","languages_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/languages","stargazers_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/stargazers","contributors_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/contributors","subscribers_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/subscribers","subscription_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/subscription","commits_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/contents/{+path}","compare_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/merges","archive_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/downloads","issues_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/issues{/number}","pulls_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/pulls{/number}","milestones_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/milestones{/number}","notifications_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/labels{/name}","releases_url":"https://api.github.com/repos/bbqbaron/mochify-istanbul/releases{/id}","created_at":"2015-04-25T13:41:37Z","updated_at":"2015-04-25T13:41:38Z","pushed_at":"2015-04-25T13:42:13Z","git_url":"git://github.com/bbqbaron/mochify-istanbul.git","ssh_url":"git@github.com:bbqbaron/mochify-istanbul.git","clone_url":"https://github.com/bbqbaron/mochify-istanbul.git","svn_url":"https://github.com/bbqbaron/mochify-istanbul","homepage":"","size":95,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ferlores:master","ref":"master","sha":"c10727ccab2137c8b80b25d882a4b563752360b7","user":{"login":"ferlores","id":972699,"avatar_url":"https://avatars.githubusercontent.com/u/972699?v=3","gravatar_id":"","url":"https://api.github.com/users/ferlores","html_url":"https://github.com/ferlores","followers_url":"https://api.github.com/users/ferlores/followers","following_url":"https://api.github.com/users/ferlores/following{/other_user}","gists_url":"https://api.github.com/users/ferlores/gists{/gist_id}","starred_url":"https://api.github.com/users/ferlores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferlores/subscriptions","organizations_url":"https://api.github.com/users/ferlores/orgs","repos_url":"https://api.github.com/users/ferlores/repos","events_url":"https://api.github.com/users/ferlores/events{/privacy}","received_events_url":"https://api.github.com/users/ferlores/received_events","type":"User","site_admin":false},"repo":{"id":26877319,"name":"mochify-istanbul","full_name":"ferlores/mochify-istanbul","owner":{"login":"ferlores","id":972699,"avatar_url":"https://avatars.githubusercontent.com/u/972699?v=3","gravatar_id":"","url":"https://api.github.com/users/ferlores","html_url":"https://github.com/ferlores","followers_url":"https://api.github.com/users/ferlores/followers","following_url":"https://api.github.com/users/ferlores/following{/other_user}","gists_url":"https://api.github.com/users/ferlores/gists{/gist_id}","starred_url":"https://api.github.com/users/ferlores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferlores/subscriptions","organizations_url":"https://api.github.com/users/ferlores/orgs","repos_url":"https://api.github.com/users/ferlores/repos","events_url":"https://api.github.com/users/ferlores/events{/privacy}","received_events_url":"https://api.github.com/users/ferlores/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ferlores/mochify-istanbul","description":"Instrument + create reports using istanbul with the mochify stream","fork":false,"url":"https://api.github.com/repos/ferlores/mochify-istanbul","forks_url":"https://api.github.com/repos/ferlores/mochify-istanbul/forks","keys_url":"https://api.github.com/repos/ferlores/mochify-istanbul/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ferlores/mochify-istanbul/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ferlores/mochify-istanbul/teams","hooks_url":"https://api.github.com/repos/ferlores/mochify-istanbul/hooks","issue_events_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/events{/number}","events_url":"https://api.github.com/repos/ferlores/mochify-istanbul/events","assignees_url":"https://api.github.com/repos/ferlores/mochify-istanbul/assignees{/user}","branches_url":"https://api.github.com/repos/ferlores/mochify-istanbul/branches{/branch}","tags_url":"https://api.github.com/repos/ferlores/mochify-istanbul/tags","blobs_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/refs{/sha}","trees_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ferlores/mochify-istanbul/statuses/{sha}","languages_url":"https://api.github.com/repos/ferlores/mochify-istanbul/languages","stargazers_url":"https://api.github.com/repos/ferlores/mochify-istanbul/stargazers","contributors_url":"https://api.github.com/repos/ferlores/mochify-istanbul/contributors","subscribers_url":"https://api.github.com/repos/ferlores/mochify-istanbul/subscribers","subscription_url":"https://api.github.com/repos/ferlores/mochify-istanbul/subscription","commits_url":"https://api.github.com/repos/ferlores/mochify-istanbul/commits{/sha}","git_commits_url":"https://api.github.com/repos/ferlores/mochify-istanbul/git/commits{/sha}","comments_url":"https://api.github.com/repos/ferlores/mochify-istanbul/comments{/number}","issue_comment_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/comments{/number}","contents_url":"https://api.github.com/repos/ferlores/mochify-istanbul/contents/{+path}","compare_url":"https://api.github.com/repos/ferlores/mochify-istanbul/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ferlores/mochify-istanbul/merges","archive_url":"https://api.github.com/repos/ferlores/mochify-istanbul/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ferlores/mochify-istanbul/downloads","issues_url":"https://api.github.com/repos/ferlores/mochify-istanbul/issues{/number}","pulls_url":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls{/number}","milestones_url":"https://api.github.com/repos/ferlores/mochify-istanbul/milestones{/number}","notifications_url":"https://api.github.com/repos/ferlores/mochify-istanbul/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ferlores/mochify-istanbul/labels{/name}","releases_url":"https://api.github.com/repos/ferlores/mochify-istanbul/releases{/id}","created_at":"2014-11-19T19:19:12Z","updated_at":"2015-04-02T17:17:08Z","pushed_at":"2015-04-25T13:47:48Z","git_url":"git://github.com/ferlores/mochify-istanbul.git","ssh_url":"git@github.com:ferlores/mochify-istanbul.git","clone_url":"https://github.com/ferlores/mochify-istanbul.git","svn_url":"https://github.com/ferlores/mochify-istanbul","homepage":"","size":311,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/12"},"html":{"href":"https://github.com/ferlores/mochify-istanbul/pull/12"},"issue":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/12"},"comments":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/ferlores/mochify-istanbul/statuses/a8aa35f998deae27a53477b550d9f157b10709e7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":3,"changed_files":1}}