{"action":"closed","number":416,"pull_request":{"url":"https://api.github.com/repos/paulmillr/chokidar/pulls/416","id":53549307,"html_url":"https://github.com/paulmillr/chokidar/pull/416","diff_url":"https://github.com/paulmillr/chokidar/pull/416.diff","patch_url":"https://github.com/paulmillr/chokidar/pull/416.patch","issue_url":"https://api.github.com/repos/paulmillr/chokidar/issues/416","number":416,"state":"closed","locked":false,"title":"Fix the emitted stats when using awf","user":{"login":"nono","id":2767,"avatar_url":"https://avatars.githubusercontent.com/u/2767?v=3","gravatar_id":"","url":"https://api.github.com/users/nono","html_url":"https://github.com/nono","followers_url":"https://api.github.com/users/nono/followers","following_url":"https://api.github.com/users/nono/following{/other_user}","gists_url":"https://api.github.com/users/nono/gists{/gist_id}","starred_url":"https://api.github.com/users/nono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nono/subscriptions","organizations_url":"https://api.github.com/users/nono/orgs","repos_url":"https://api.github.com/users/nono/repos","events_url":"https://api.github.com/users/nono/events{/privacy}","received_events_url":"https://api.github.com/users/nono/received_events","type":"User","site_admin":false},"body":"When using the awaitWriteFinish options, the stats were emitted for the file as it was first detected, not as it is when the event if fired.","created_at":"2015-12-14T10:52:41Z","updated_at":"2015-12-14T15:41:44Z","closed_at":"2015-12-14T15:41:44Z","merged_at":"2015-12-14T15:41:44Z","merge_commit_sha":"82f1730f42ab66192d772236a25afa01ee5c9e2d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/paulmillr/chokidar/pulls/416/commits","review_comments_url":"https://api.github.com/repos/paulmillr/chokidar/pulls/416/comments","review_comment_url":"https://api.github.com/repos/paulmillr/chokidar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paulmillr/chokidar/issues/416/comments","statuses_url":"https://api.github.com/repos/paulmillr/chokidar/statuses/1a7bd41dedb41fd1bce741811fee136741e55ecc","head":{"label":"nono:fix_stats","ref":"fix_stats","sha":"1a7bd41dedb41fd1bce741811fee136741e55ecc","user":{"login":"nono","id":2767,"avatar_url":"https://avatars.githubusercontent.com/u/2767?v=3","gravatar_id":"","url":"https://api.github.com/users/nono","html_url":"https://github.com/nono","followers_url":"https://api.github.com/users/nono/followers","following_url":"https://api.github.com/users/nono/following{/other_user}","gists_url":"https://api.github.com/users/nono/gists{/gist_id}","starred_url":"https://api.github.com/users/nono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nono/subscriptions","organizations_url":"https://api.github.com/users/nono/orgs","repos_url":"https://api.github.com/users/nono/repos","events_url":"https://api.github.com/users/nono/events{/privacy}","received_events_url":"https://api.github.com/users/nono/received_events","type":"User","site_admin":false},"repo":{"id":45538056,"name":"chokidar","full_name":"nono/chokidar","owner":{"login":"nono","id":2767,"avatar_url":"https://avatars.githubusercontent.com/u/2767?v=3","gravatar_id":"","url":"https://api.github.com/users/nono","html_url":"https://github.com/nono","followers_url":"https://api.github.com/users/nono/followers","following_url":"https://api.github.com/users/nono/following{/other_user}","gists_url":"https://api.github.com/users/nono/gists{/gist_id}","starred_url":"https://api.github.com/users/nono/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nono/subscriptions","organizations_url":"https://api.github.com/users/nono/orgs","repos_url":"https://api.github.com/users/nono/repos","events_url":"https://api.github.com/users/nono/events{/privacy}","received_events_url":"https://api.github.com/users/nono/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nono/chokidar","description":"A neat wrapper around node.js fs.watch / fs.watchFile.","fork":true,"url":"https://api.github.com/repos/nono/chokidar","forks_url":"https://api.github.com/repos/nono/chokidar/forks","keys_url":"https://api.github.com/repos/nono/chokidar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nono/chokidar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nono/chokidar/teams","hooks_url":"https://api.github.com/repos/nono/chokidar/hooks","issue_events_url":"https://api.github.com/repos/nono/chokidar/issues/events{/number}","events_url":"https://api.github.com/repos/nono/chokidar/events","assignees_url":"https://api.github.com/repos/nono/chokidar/assignees{/user}","branches_url":"https://api.github.com/repos/nono/chokidar/branches{/branch}","tags_url":"https://api.github.com/repos/nono/chokidar/tags","blobs_url":"https://api.github.com/repos/nono/chokidar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nono/chokidar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nono/chokidar/git/refs{/sha}","trees_url":"https://api.github.com/repos/nono/chokidar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nono/chokidar/statuses/{sha}","languages_url":"https://api.github.com/repos/nono/chokidar/languages","stargazers_url":"https://api.github.com/repos/nono/chokidar/stargazers","contributors_url":"https://api.github.com/repos/nono/chokidar/contributors","subscribers_url":"https://api.github.com/repos/nono/chokidar/subscribers","subscription_url":"https://api.github.com/repos/nono/chokidar/subscription","commits_url":"https://api.github.com/repos/nono/chokidar/commits{/sha}","git_commits_url":"https://api.github.com/repos/nono/chokidar/git/commits{/sha}","comments_url":"https://api.github.com/repos/nono/chokidar/comments{/number}","issue_comment_url":"https://api.github.com/repos/nono/chokidar/issues/comments{/number}","contents_url":"https://api.github.com/repos/nono/chokidar/contents/{+path}","compare_url":"https://api.github.com/repos/nono/chokidar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nono/chokidar/merges","archive_url":"https://api.github.com/repos/nono/chokidar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nono/chokidar/downloads","issues_url":"https://api.github.com/repos/nono/chokidar/issues{/number}","pulls_url":"https://api.github.com/repos/nono/chokidar/pulls{/number}","milestones_url":"https://api.github.com/repos/nono/chokidar/milestones{/number}","notifications_url":"https://api.github.com/repos/nono/chokidar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nono/chokidar/labels{/name}","releases_url":"https://api.github.com/repos/nono/chokidar/releases{/id}","created_at":"2015-11-04T12:38:22Z","updated_at":"2015-11-04T12:38:23Z","pushed_at":"2015-12-14T13:28:32Z","git_url":"git://github.com/nono/chokidar.git","ssh_url":"git@github.com:nono/chokidar.git","clone_url":"https://github.com/nono/chokidar.git","svn_url":"https://github.com/nono/chokidar","homepage":"http://paulmillr.com","size":760,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"paulmillr:master","ref":"master","sha":"b54580ad83ac3e53175d6c0997a3f025e555cadc","user":{"login":"paulmillr","id":574696,"avatar_url":"https://avatars.githubusercontent.com/u/574696?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmillr","html_url":"https://github.com/paulmillr","followers_url":"https://api.github.com/users/paulmillr/followers","following_url":"https://api.github.com/users/paulmillr/following{/other_user}","gists_url":"https://api.github.com/users/paulmillr/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmillr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmillr/subscriptions","organizations_url":"https://api.github.com/users/paulmillr/orgs","repos_url":"https://api.github.com/users/paulmillr/repos","events_url":"https://api.github.com/users/paulmillr/events{/privacy}","received_events_url":"https://api.github.com/users/paulmillr/received_events","type":"User","site_admin":false},"repo":{"id":4090287,"name":"chokidar","full_name":"paulmillr/chokidar","owner":{"login":"paulmillr","id":574696,"avatar_url":"https://avatars.githubusercontent.com/u/574696?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmillr","html_url":"https://github.com/paulmillr","followers_url":"https://api.github.com/users/paulmillr/followers","following_url":"https://api.github.com/users/paulmillr/following{/other_user}","gists_url":"https://api.github.com/users/paulmillr/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmillr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmillr/subscriptions","organizations_url":"https://api.github.com/users/paulmillr/orgs","repos_url":"https://api.github.com/users/paulmillr/repos","events_url":"https://api.github.com/users/paulmillr/events{/privacy}","received_events_url":"https://api.github.com/users/paulmillr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paulmillr/chokidar","description":"A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.","fork":false,"url":"https://api.github.com/repos/paulmillr/chokidar","forks_url":"https://api.github.com/repos/paulmillr/chokidar/forks","keys_url":"https://api.github.com/repos/paulmillr/chokidar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paulmillr/chokidar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paulmillr/chokidar/teams","hooks_url":"https://api.github.com/repos/paulmillr/chokidar/hooks","issue_events_url":"https://api.github.com/repos/paulmillr/chokidar/issues/events{/number}","events_url":"https://api.github.com/repos/paulmillr/chokidar/events","assignees_url":"https://api.github.com/repos/paulmillr/chokidar/assignees{/user}","branches_url":"https://api.github.com/repos/paulmillr/chokidar/branches{/branch}","tags_url":"https://api.github.com/repos/paulmillr/chokidar/tags","blobs_url":"https://api.github.com/repos/paulmillr/chokidar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paulmillr/chokidar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paulmillr/chokidar/git/refs{/sha}","trees_url":"https://api.github.com/repos/paulmillr/chokidar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paulmillr/chokidar/statuses/{sha}","languages_url":"https://api.github.com/repos/paulmillr/chokidar/languages","stargazers_url":"https://api.github.com/repos/paulmillr/chokidar/stargazers","contributors_url":"https://api.github.com/repos/paulmillr/chokidar/contributors","subscribers_url":"https://api.github.com/repos/paulmillr/chokidar/subscribers","subscription_url":"https://api.github.com/repos/paulmillr/chokidar/subscription","commits_url":"https://api.github.com/repos/paulmillr/chokidar/commits{/sha}","git_commits_url":"https://api.github.com/repos/paulmillr/chokidar/git/commits{/sha}","comments_url":"https://api.github.com/repos/paulmillr/chokidar/comments{/number}","issue_comment_url":"https://api.github.com/repos/paulmillr/chokidar/issues/comments{/number}","contents_url":"https://api.github.com/repos/paulmillr/chokidar/contents/{+path}","compare_url":"https://api.github.com/repos/paulmillr/chokidar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paulmillr/chokidar/merges","archive_url":"https://api.github.com/repos/paulmillr/chokidar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paulmillr/chokidar/downloads","issues_url":"https://api.github.com/repos/paulmillr/chokidar/issues{/number}","pulls_url":"https://api.github.com/repos/paulmillr/chokidar/pulls{/number}","milestones_url":"https://api.github.com/repos/paulmillr/chokidar/milestones{/number}","notifications_url":"https://api.github.com/repos/paulmillr/chokidar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paulmillr/chokidar/labels{/name}","releases_url":"https://api.github.com/repos/paulmillr/chokidar/releases{/id}","created_at":"2012-04-20T19:17:49Z","updated_at":"2015-12-14T08:00:32Z","pushed_at":"2015-12-14T15:41:44Z","git_url":"git://github.com/paulmillr/chokidar.git","ssh_url":"git@github.com:paulmillr/chokidar.git","clone_url":"https://github.com/paulmillr/chokidar.git","svn_url":"https://github.com/paulmillr/chokidar","homepage":"http://paulmillr.com","size":861,"stargazers_count":1354,"watchers_count":1354,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":30,"forks":126,"open_issues":30,"watchers":1354,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paulmillr/chokidar/pulls/416"},"html":{"href":"https://github.com/paulmillr/chokidar/pull/416"},"issue":{"href":"https://api.github.com/repos/paulmillr/chokidar/issues/416"},"comments":{"href":"https://api.github.com/repos/paulmillr/chokidar/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/paulmillr/chokidar/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/paulmillr/chokidar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paulmillr/chokidar/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/paulmillr/chokidar/statuses/1a7bd41dedb41fd1bce741811fee136741e55ecc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"paulmillr","id":574696,"avatar_url":"https://avatars.githubusercontent.com/u/574696?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmillr","html_url":"https://github.com/paulmillr","followers_url":"https://api.github.com/users/paulmillr/followers","following_url":"https://api.github.com/users/paulmillr/following{/other_user}","gists_url":"https://api.github.com/users/paulmillr/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmillr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmillr/subscriptions","organizations_url":"https://api.github.com/users/paulmillr/orgs","repos_url":"https://api.github.com/users/paulmillr/repos","events_url":"https://api.github.com/users/paulmillr/events{/privacy}","received_events_url":"https://api.github.com/users/paulmillr/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":1,"changed_files":2}}