{"action":"closed","number":126,"pull_request":{"url":"https://api.github.com/repos/FormidableLabs/builder/pulls/126","id":82991113,"html_url":"https://github.com/FormidableLabs/builder/pull/126","diff_url":"https://github.com/FormidableLabs/builder/pull/126.diff","patch_url":"https://github.com/FormidableLabs/builder/pull/126.patch","issue_url":"https://api.github.com/repos/FormidableLabs/builder/issues/126","number":126,"state":"closed","locked":false,"title":"Exit when the process is ready and has flushed stdout","user":{"login":"exogen","id":53522,"avatar_url":"https://avatars.githubusercontent.com/u/53522?v=3","gravatar_id":"","url":"https://api.github.com/users/exogen","html_url":"https://github.com/exogen","followers_url":"https://api.github.com/users/exogen/followers","following_url":"https://api.github.com/users/exogen/following{/other_user}","gists_url":"https://api.github.com/users/exogen/gists{/gist_id}","starred_url":"https://api.github.com/users/exogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exogen/subscriptions","organizations_url":"https://api.github.com/users/exogen/orgs","repos_url":"https://api.github.com/users/exogen/repos","events_url":"https://api.github.com/users/exogen/events{/privacy}","received_events_url":"https://api.github.com/users/exogen/received_events","type":"User","site_admin":false},"body":"Use the \"safe exit\" pattern from https://github.com/nodejs/node-v0.x-archive/issues/3737 to exit with our return code when the process is naturally ready. This will prevent any pending piped output [edit: from *us*, in case some other process is running `builder`] from being truncated.\r\n\r\nFixes #124.","created_at":"2016-08-27T15:46:25Z","updated_at":"2016-08-27T16:43:59Z","closed_at":"2016-08-27T16:43:59Z","merged_at":"2016-08-27T16:43:59Z","merge_commit_sha":"4a6acf268dad7f22e912015b7b008fcd464408f2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/FormidableLabs/builder/pulls/126/commits","review_comments_url":"https://api.github.com/repos/FormidableLabs/builder/pulls/126/comments","review_comment_url":"https://api.github.com/repos/FormidableLabs/builder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FormidableLabs/builder/issues/126/comments","statuses_url":"https://api.github.com/repos/FormidableLabs/builder/statuses/fa4bb95cb7e80ebdee0619a0f34b3d3cd01d140b","head":{"label":"FormidableLabs:enhancement-safe-exit","ref":"enhancement-safe-exit","sha":"fa4bb95cb7e80ebdee0619a0f34b3d3cd01d140b","user":{"login":"FormidableLabs","id":5078602,"avatar_url":"https://avatars.githubusercontent.com/u/5078602?v=3","gravatar_id":"","url":"https://api.github.com/users/FormidableLabs","html_url":"https://github.com/FormidableLabs","followers_url":"https://api.github.com/users/FormidableLabs/followers","following_url":"https://api.github.com/users/FormidableLabs/following{/other_user}","gists_url":"https://api.github.com/users/FormidableLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/FormidableLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FormidableLabs/subscriptions","organizations_url":"https://api.github.com/users/FormidableLabs/orgs","repos_url":"https://api.github.com/users/FormidableLabs/repos","events_url":"https://api.github.com/users/FormidableLabs/events{/privacy}","received_events_url":"https://api.github.com/users/FormidableLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":44566613,"name":"builder","full_name":"FormidableLabs/builder","owner":{"login":"FormidableLabs","id":5078602,"avatar_url":"https://avatars.githubusercontent.com/u/5078602?v=3","gravatar_id":"","url":"https://api.github.com/users/FormidableLabs","html_url":"https://github.com/FormidableLabs","followers_url":"https://api.github.com/users/FormidableLabs/followers","following_url":"https://api.github.com/users/FormidableLabs/following{/other_user}","gists_url":"https://api.github.com/users/FormidableLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/FormidableLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FormidableLabs/subscriptions","organizations_url":"https://api.github.com/users/FormidableLabs/orgs","repos_url":"https://api.github.com/users/FormidableLabs/repos","events_url":"https://api.github.com/users/FormidableLabs/events{/privacy}","received_events_url":"https://api.github.com/users/FormidableLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FormidableLabs/builder","description":"An npm-based task runner","fork":false,"url":"https://api.github.com/repos/FormidableLabs/builder","forks_url":"https://api.github.com/repos/FormidableLabs/builder/forks","keys_url":"https://api.github.com/repos/FormidableLabs/builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FormidableLabs/builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FormidableLabs/builder/teams","hooks_url":"https://api.github.com/repos/FormidableLabs/builder/hooks","issue_events_url":"https://api.github.com/repos/FormidableLabs/builder/issues/events{/number}","events_url":"https://api.github.com/repos/FormidableLabs/builder/events","assignees_url":"https://api.github.com/repos/FormidableLabs/builder/assignees{/user}","branches_url":"https://api.github.com/repos/FormidableLabs/builder/branches{/branch}","tags_url":"https://api.github.com/repos/FormidableLabs/builder/tags","blobs_url":"https://api.github.com/repos/FormidableLabs/builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FormidableLabs/builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FormidableLabs/builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/FormidableLabs/builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FormidableLabs/builder/statuses/{sha}","languages_url":"https://api.github.com/repos/FormidableLabs/builder/languages","stargazers_url":"https://api.github.com/repos/FormidableLabs/builder/stargazers","contributors_url":"https://api.github.com/repos/FormidableLabs/builder/contributors","subscribers_url":"https://api.github.com/repos/FormidableLabs/builder/subscribers","subscription_url":"https://api.github.com/repos/FormidableLabs/builder/subscription","commits_url":"https://api.github.com/repos/FormidableLabs/builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/FormidableLabs/builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/FormidableLabs/builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/FormidableLabs/builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/FormidableLabs/builder/contents/{+path}","compare_url":"https://api.github.com/repos/FormidableLabs/builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FormidableLabs/builder/merges","archive_url":"https://api.github.com/repos/FormidableLabs/builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FormidableLabs/builder/downloads","issues_url":"https://api.github.com/repos/FormidableLabs/builder/issues{/number}","pulls_url":"https://api.github.com/repos/FormidableLabs/builder/pulls{/number}","milestones_url":"https://api.github.com/repos/FormidableLabs/builder/milestones{/number}","notifications_url":"https://api.github.com/repos/FormidableLabs/builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FormidableLabs/builder/labels{/name}","releases_url":"https://api.github.com/repos/FormidableLabs/builder/releases{/id}","deployments_url":"https://api.github.com/repos/FormidableLabs/builder/deployments","created_at":"2015-10-19T22:00:13Z","updated_at":"2016-08-23T06:48:07Z","pushed_at":"2016-08-27T16:44:00Z","git_url":"git://github.com/FormidableLabs/builder.git","ssh_url":"git@github.com:FormidableLabs/builder.git","clone_url":"https://github.com/FormidableLabs/builder.git","svn_url":"https://github.com/FormidableLabs/builder","homepage":"http://formidable.com/open-source/builder/","size":213,"stargazers_count":114,"watchers_count":114,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":31,"forks":5,"open_issues":31,"watchers":114,"default_branch":"master"}},"base":{"label":"FormidableLabs:master","ref":"master","sha":"5d20ad26faff6717ee358598af7bfb0c55b4174e","user":{"login":"FormidableLabs","id":5078602,"avatar_url":"https://avatars.githubusercontent.com/u/5078602?v=3","gravatar_id":"","url":"https://api.github.com/users/FormidableLabs","html_url":"https://github.com/FormidableLabs","followers_url":"https://api.github.com/users/FormidableLabs/followers","following_url":"https://api.github.com/users/FormidableLabs/following{/other_user}","gists_url":"https://api.github.com/users/FormidableLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/FormidableLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FormidableLabs/subscriptions","organizations_url":"https://api.github.com/users/FormidableLabs/orgs","repos_url":"https://api.github.com/users/FormidableLabs/repos","events_url":"https://api.github.com/users/FormidableLabs/events{/privacy}","received_events_url":"https://api.github.com/users/FormidableLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":44566613,"name":"builder","full_name":"FormidableLabs/builder","owner":{"login":"FormidableLabs","id":5078602,"avatar_url":"https://avatars.githubusercontent.com/u/5078602?v=3","gravatar_id":"","url":"https://api.github.com/users/FormidableLabs","html_url":"https://github.com/FormidableLabs","followers_url":"https://api.github.com/users/FormidableLabs/followers","following_url":"https://api.github.com/users/FormidableLabs/following{/other_user}","gists_url":"https://api.github.com/users/FormidableLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/FormidableLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FormidableLabs/subscriptions","organizations_url":"https://api.github.com/users/FormidableLabs/orgs","repos_url":"https://api.github.com/users/FormidableLabs/repos","events_url":"https://api.github.com/users/FormidableLabs/events{/privacy}","received_events_url":"https://api.github.com/users/FormidableLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FormidableLabs/builder","description":"An npm-based task runner","fork":false,"url":"https://api.github.com/repos/FormidableLabs/builder","forks_url":"https://api.github.com/repos/FormidableLabs/builder/forks","keys_url":"https://api.github.com/repos/FormidableLabs/builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FormidableLabs/builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FormidableLabs/builder/teams","hooks_url":"https://api.github.com/repos/FormidableLabs/builder/hooks","issue_events_url":"https://api.github.com/repos/FormidableLabs/builder/issues/events{/number}","events_url":"https://api.github.com/repos/FormidableLabs/builder/events","assignees_url":"https://api.github.com/repos/FormidableLabs/builder/assignees{/user}","branches_url":"https://api.github.com/repos/FormidableLabs/builder/branches{/branch}","tags_url":"https://api.github.com/repos/FormidableLabs/builder/tags","blobs_url":"https://api.github.com/repos/FormidableLabs/builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FormidableLabs/builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FormidableLabs/builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/FormidableLabs/builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FormidableLabs/builder/statuses/{sha}","languages_url":"https://api.github.com/repos/FormidableLabs/builder/languages","stargazers_url":"https://api.github.com/repos/FormidableLabs/builder/stargazers","contributors_url":"https://api.github.com/repos/FormidableLabs/builder/contributors","subscribers_url":"https://api.github.com/repos/FormidableLabs/builder/subscribers","subscription_url":"https://api.github.com/repos/FormidableLabs/builder/subscription","commits_url":"https://api.github.com/repos/FormidableLabs/builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/FormidableLabs/builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/FormidableLabs/builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/FormidableLabs/builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/FormidableLabs/builder/contents/{+path}","compare_url":"https://api.github.com/repos/FormidableLabs/builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FormidableLabs/builder/merges","archive_url":"https://api.github.com/repos/FormidableLabs/builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FormidableLabs/builder/downloads","issues_url":"https://api.github.com/repos/FormidableLabs/builder/issues{/number}","pulls_url":"https://api.github.com/repos/FormidableLabs/builder/pulls{/number}","milestones_url":"https://api.github.com/repos/FormidableLabs/builder/milestones{/number}","notifications_url":"https://api.github.com/repos/FormidableLabs/builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FormidableLabs/builder/labels{/name}","releases_url":"https://api.github.com/repos/FormidableLabs/builder/releases{/id}","deployments_url":"https://api.github.com/repos/FormidableLabs/builder/deployments","created_at":"2015-10-19T22:00:13Z","updated_at":"2016-08-23T06:48:07Z","pushed_at":"2016-08-27T16:44:00Z","git_url":"git://github.com/FormidableLabs/builder.git","ssh_url":"git@github.com:FormidableLabs/builder.git","clone_url":"https://github.com/FormidableLabs/builder.git","svn_url":"https://github.com/FormidableLabs/builder","homepage":"http://formidable.com/open-source/builder/","size":213,"stargazers_count":114,"watchers_count":114,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":31,"forks":5,"open_issues":31,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FormidableLabs/builder/pulls/126"},"html":{"href":"https://github.com/FormidableLabs/builder/pull/126"},"issue":{"href":"https://api.github.com/repos/FormidableLabs/builder/issues/126"},"comments":{"href":"https://api.github.com/repos/FormidableLabs/builder/issues/126/comments"},"review_comments":{"href":"https://api.github.com/repos/FormidableLabs/builder/pulls/126/comments"},"review_comment":{"href":"https://api.github.com/repos/FormidableLabs/builder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FormidableLabs/builder/pulls/126/commits"},"statuses":{"href":"https://api.github.com/repos/FormidableLabs/builder/statuses/fa4bb95cb7e80ebdee0619a0f34b3d3cd01d140b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"exogen","id":53522,"avatar_url":"https://avatars.githubusercontent.com/u/53522?v=3","gravatar_id":"","url":"https://api.github.com/users/exogen","html_url":"https://github.com/exogen","followers_url":"https://api.github.com/users/exogen/followers","following_url":"https://api.github.com/users/exogen/following{/other_user}","gists_url":"https://api.github.com/users/exogen/gists{/gist_id}","starred_url":"https://api.github.com/users/exogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exogen/subscriptions","organizations_url":"https://api.github.com/users/exogen/orgs","repos_url":"https://api.github.com/users/exogen/repos","events_url":"https://api.github.com/users/exogen/events{/privacy}","received_events_url":"https://api.github.com/users/exogen/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":2,"additions":7,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"exogen"}}