{"action":"opened","number":78,"pull_request":{"url":"https://api.github.com/repos/napcs/node-livereload/pulls/78","id":86634064,"html_url":"https://github.com/napcs/node-livereload/pull/78","diff_url":"https://github.com/napcs/node-livereload/pull/78.diff","patch_url":"https://github.com/napcs/node-livereload/pull/78.patch","issue_url":"https://api.github.com/repos/napcs/node-livereload/issues/78","number":78,"state":"open","locked":false,"title":"add callback param that runs when server is ready (fixes #75)","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},"body":"This addresses #75 by utilizing the existing `callback` param accepted by `ws.Server`. It allows me to add a callback that will fire when the server is truly ready and accepting connections. (useful for logging)","created_at":"2016-09-24T23:25:23Z","updated_at":"2016-09-24T23:25:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/napcs/node-livereload/pulls/78/commits","review_comments_url":"https://api.github.com/repos/napcs/node-livereload/pulls/78/comments","review_comment_url":"https://api.github.com/repos/napcs/node-livereload/pulls/comments{/number}","comments_url":"https://api.github.com/repos/napcs/node-livereload/issues/78/comments","statuses_url":"https://api.github.com/repos/napcs/node-livereload/statuses/84105c79f8ea21923e70c86153def8655106c2b9","head":{"label":"dominicbarnes:server-callback","ref":"server-callback","sha":"84105c79f8ea21923e70c86153def8655106c2b9","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},"repo":{"id":68864800,"name":"node-livereload","full_name":"dominicbarnes/node-livereload","owner":{"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},"private":false,"html_url":"https://github.com/dominicbarnes/node-livereload","description":"LiveReload server in Node.js","fork":true,"url":"https://api.github.com/repos/dominicbarnes/node-livereload","forks_url":"https://api.github.com/repos/dominicbarnes/node-livereload/forks","keys_url":"https://api.github.com/repos/dominicbarnes/node-livereload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dominicbarnes/node-livereload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dominicbarnes/node-livereload/teams","hooks_url":"https://api.github.com/repos/dominicbarnes/node-livereload/hooks","issue_events_url":"https://api.github.com/repos/dominicbarnes/node-livereload/issues/events{/number}","events_url":"https://api.github.com/repos/dominicbarnes/node-livereload/events","assignees_url":"https://api.github.com/repos/dominicbarnes/node-livereload/assignees{/user}","branches_url":"https://api.github.com/repos/dominicbarnes/node-livereload/branches{/branch}","tags_url":"https://api.github.com/repos/dominicbarnes/node-livereload/tags","blobs_url":"https://api.github.com/repos/dominicbarnes/node-livereload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dominicbarnes/node-livereload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dominicbarnes/node-livereload/git/refs{/sha}","trees_url":"https://api.github.com/repos/dominicbarnes/node-livereload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dominicbarnes/node-livereload/statuses/{sha}","languages_url":"https://api.github.com/repos/dominicbarnes/node-livereload/languages","stargazers_url":"https://api.github.com/repos/dominicbarnes/node-livereload/stargazers","contributors_url":"https://api.github.com/repos/dominicbarnes/node-livereload/contributors","subscribers_url":"https://api.github.com/repos/dominicbarnes/node-livereload/subscribers","subscription_url":"https://api.github.com/repos/dominicbarnes/node-livereload/subscription","commits_url":"https://api.github.com/repos/dominicbarnes/node-livereload/commits{/sha}","git_commits_url":"https://api.github.com/repos/dominicbarnes/node-livereload/git/commits{/sha}","comments_url":"https://api.github.com/repos/dominicbarnes/node-livereload/comments{/number}","issue_comment_url":"https://api.github.com/repos/dominicbarnes/node-livereload/issues/comments{/number}","contents_url":"https://api.github.com/repos/dominicbarnes/node-livereload/contents/{+path}","compare_url":"https://api.github.com/repos/dominicbarnes/node-livereload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dominicbarnes/node-livereload/merges","archive_url":"https://api.github.com/repos/dominicbarnes/node-livereload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dominicbarnes/node-livereload/downloads","issues_url":"https://api.github.com/repos/dominicbarnes/node-livereload/issues{/number}","pulls_url":"https://api.github.com/repos/dominicbarnes/node-livereload/pulls{/number}","milestones_url":"https://api.github.com/repos/dominicbarnes/node-livereload/milestones{/number}","notifications_url":"https://api.github.com/repos/dominicbarnes/node-livereload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dominicbarnes/node-livereload/labels{/name}","releases_url":"https://api.github.com/repos/dominicbarnes/node-livereload/releases{/id}","deployments_url":"https://api.github.com/repos/dominicbarnes/node-livereload/deployments","created_at":"2016-09-21T23:05:53Z","updated_at":"2016-09-21T23:05:54Z","pushed_at":"2016-09-24T23:22:10Z","git_url":"git://github.com/dominicbarnes/node-livereload.git","ssh_url":"git@github.com:dominicbarnes/node-livereload.git","clone_url":"https://github.com/dominicbarnes/node-livereload.git","svn_url":"https://github.com/dominicbarnes/node-livereload","homepage":"","size":122,"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":"napcs:master","ref":"master","sha":"97f1119133cb00fab252d861f88ac59933cec91f","user":{"login":"napcs","id":1306,"avatar_url":"https://avatars.githubusercontent.com/u/1306?v=3","gravatar_id":"","url":"https://api.github.com/users/napcs","html_url":"https://github.com/napcs","followers_url":"https://api.github.com/users/napcs/followers","following_url":"https://api.github.com/users/napcs/following{/other_user}","gists_url":"https://api.github.com/users/napcs/gists{/gist_id}","starred_url":"https://api.github.com/users/napcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/napcs/subscriptions","organizations_url":"https://api.github.com/users/napcs/orgs","repos_url":"https://api.github.com/users/napcs/repos","events_url":"https://api.github.com/users/napcs/events{/privacy}","received_events_url":"https://api.github.com/users/napcs/received_events","type":"User","site_admin":false},"repo":{"id":4575901,"name":"node-livereload","full_name":"napcs/node-livereload","owner":{"login":"napcs","id":1306,"avatar_url":"https://avatars.githubusercontent.com/u/1306?v=3","gravatar_id":"","url":"https://api.github.com/users/napcs","html_url":"https://github.com/napcs","followers_url":"https://api.github.com/users/napcs/followers","following_url":"https://api.github.com/users/napcs/following{/other_user}","gists_url":"https://api.github.com/users/napcs/gists{/gist_id}","starred_url":"https://api.github.com/users/napcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/napcs/subscriptions","organizations_url":"https://api.github.com/users/napcs/orgs","repos_url":"https://api.github.com/users/napcs/repos","events_url":"https://api.github.com/users/napcs/events{/privacy}","received_events_url":"https://api.github.com/users/napcs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/napcs/node-livereload","description":"LiveReload server in Node.js","fork":true,"url":"https://api.github.com/repos/napcs/node-livereload","forks_url":"https://api.github.com/repos/napcs/node-livereload/forks","keys_url":"https://api.github.com/repos/napcs/node-livereload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/napcs/node-livereload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/napcs/node-livereload/teams","hooks_url":"https://api.github.com/repos/napcs/node-livereload/hooks","issue_events_url":"https://api.github.com/repos/napcs/node-livereload/issues/events{/number}","events_url":"https://api.github.com/repos/napcs/node-livereload/events","assignees_url":"https://api.github.com/repos/napcs/node-livereload/assignees{/user}","branches_url":"https://api.github.com/repos/napcs/node-livereload/branches{/branch}","tags_url":"https://api.github.com/repos/napcs/node-livereload/tags","blobs_url":"https://api.github.com/repos/napcs/node-livereload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/napcs/node-livereload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/napcs/node-livereload/git/refs{/sha}","trees_url":"https://api.github.com/repos/napcs/node-livereload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/napcs/node-livereload/statuses/{sha}","languages_url":"https://api.github.com/repos/napcs/node-livereload/languages","stargazers_url":"https://api.github.com/repos/napcs/node-livereload/stargazers","contributors_url":"https://api.github.com/repos/napcs/node-livereload/contributors","subscribers_url":"https://api.github.com/repos/napcs/node-livereload/subscribers","subscription_url":"https://api.github.com/repos/napcs/node-livereload/subscription","commits_url":"https://api.github.com/repos/napcs/node-livereload/commits{/sha}","git_commits_url":"https://api.github.com/repos/napcs/node-livereload/git/commits{/sha}","comments_url":"https://api.github.com/repos/napcs/node-livereload/comments{/number}","issue_comment_url":"https://api.github.com/repos/napcs/node-livereload/issues/comments{/number}","contents_url":"https://api.github.com/repos/napcs/node-livereload/contents/{+path}","compare_url":"https://api.github.com/repos/napcs/node-livereload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/napcs/node-livereload/merges","archive_url":"https://api.github.com/repos/napcs/node-livereload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/napcs/node-livereload/downloads","issues_url":"https://api.github.com/repos/napcs/node-livereload/issues{/number}","pulls_url":"https://api.github.com/repos/napcs/node-livereload/pulls{/number}","milestones_url":"https://api.github.com/repos/napcs/node-livereload/milestones{/number}","notifications_url":"https://api.github.com/repos/napcs/node-livereload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/napcs/node-livereload/labels{/name}","releases_url":"https://api.github.com/repos/napcs/node-livereload/releases{/id}","deployments_url":"https://api.github.com/repos/napcs/node-livereload/deployments","created_at":"2012-06-06T17:52:23Z","updated_at":"2016-09-24T08:53:46Z","pushed_at":"2016-09-24T23:25:23Z","git_url":"git://github.com/napcs/node-livereload.git","ssh_url":"git@github.com:napcs/node-livereload.git","clone_url":"https://github.com/napcs/node-livereload.git","svn_url":"https://github.com/napcs/node-livereload","homepage":"","size":158,"stargazers_count":151,"watchers_count":151,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":6,"forks":39,"open_issues":6,"watchers":151,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/napcs/node-livereload/pulls/78"},"html":{"href":"https://github.com/napcs/node-livereload/pull/78"},"issue":{"href":"https://api.github.com/repos/napcs/node-livereload/issues/78"},"comments":{"href":"https://api.github.com/repos/napcs/node-livereload/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/napcs/node-livereload/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/napcs/node-livereload/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/napcs/node-livereload/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/napcs/node-livereload/statuses/84105c79f8ea21923e70c86153def8655106c2b9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"dominicbarnes"}}