{"action":"reopened","number":3,"pull_request":{"url":"https://api.github.com/repos/mklabs/make-livereload/pulls/3","id":26305990,"html_url":"https://github.com/mklabs/make-livereload/pull/3","diff_url":"https://github.com/mklabs/make-livereload/pull/3.diff","patch_url":"https://github.com/mklabs/make-livereload/pull/3.patch","issue_url":"https://api.github.com/repos/mklabs/make-livereload/issues/3","number":3,"state":"open","locked":false,"title":"Add command-line options to support TLS.","user":{"login":"dahjelle","id":156557,"avatar_url":"https://avatars.githubusercontent.com/u/156557?v=3","gravatar_id":"","url":"https://api.github.com/users/dahjelle","html_url":"https://github.com/dahjelle","followers_url":"https://api.github.com/users/dahjelle/followers","following_url":"https://api.github.com/users/dahjelle/following{/other_user}","gists_url":"https://api.github.com/users/dahjelle/gists{/gist_id}","starred_url":"https://api.github.com/users/dahjelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahjelle/subscriptions","organizations_url":"https://api.github.com/users/dahjelle/orgs","repos_url":"https://api.github.com/users/dahjelle/repos","events_url":"https://api.github.com/users/dahjelle/events{/privacy}","received_events_url":"https://api.github.com/users/dahjelle/received_events","type":"User","site_admin":false},"body":"I needed to use LiveReload with TLS, so I added options to pass a path to a certificate and key so `tiny-lr` will serve over HTTPS.\r\n\r\nThe diff is a bit messy; the two commits clarify things a bit. The first pulls the lines to start the server into a function `startServer`. That way, the second commit can call that add TLS support directly, calling the `startServer` function after it reads the certificate and key files.","created_at":"2014-12-18T15:04:48Z","updated_at":"2015-01-26T11:24:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e85809b9bb45493c8d49ec753142b7c853e0ecbe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mklabs/make-livereload/pulls/3/commits","review_comments_url":"https://api.github.com/repos/mklabs/make-livereload/pulls/3/comments","review_comment_url":"https://api.github.com/repos/mklabs/make-livereload/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mklabs/make-livereload/issues/3/comments","statuses_url":"https://api.github.com/repos/mklabs/make-livereload/statuses/6af873c22a84483d1ba49e58c5b11559cbcc4870","head":{"label":"dahjelle:tls","ref":"tls","sha":"6af873c22a84483d1ba49e58c5b11559cbcc4870","user":{"login":"dahjelle","id":156557,"avatar_url":"https://avatars.githubusercontent.com/u/156557?v=3","gravatar_id":"","url":"https://api.github.com/users/dahjelle","html_url":"https://github.com/dahjelle","followers_url":"https://api.github.com/users/dahjelle/followers","following_url":"https://api.github.com/users/dahjelle/following{/other_user}","gists_url":"https://api.github.com/users/dahjelle/gists{/gist_id}","starred_url":"https://api.github.com/users/dahjelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahjelle/subscriptions","organizations_url":"https://api.github.com/users/dahjelle/orgs","repos_url":"https://api.github.com/users/dahjelle/repos","events_url":"https://api.github.com/users/dahjelle/events{/privacy}","received_events_url":"https://api.github.com/users/dahjelle/received_events","type":"User","site_admin":false},"repo":{"id":28165087,"name":"make-livereload","full_name":"dahjelle/make-livereload","owner":{"login":"dahjelle","id":156557,"avatar_url":"https://avatars.githubusercontent.com/u/156557?v=3","gravatar_id":"","url":"https://api.github.com/users/dahjelle","html_url":"https://github.com/dahjelle","followers_url":"https://api.github.com/users/dahjelle/followers","following_url":"https://api.github.com/users/dahjelle/following{/other_user}","gists_url":"https://api.github.com/users/dahjelle/gists{/gist_id}","starred_url":"https://api.github.com/users/dahjelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dahjelle/subscriptions","organizations_url":"https://api.github.com/users/dahjelle/orgs","repos_url":"https://api.github.com/users/dahjelle/repos","events_url":"https://api.github.com/users/dahjelle/events{/privacy}","received_events_url":"https://api.github.com/users/dahjelle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dahjelle/make-livereload","description":"Livereload target for Make","fork":true,"url":"https://api.github.com/repos/dahjelle/make-livereload","forks_url":"https://api.github.com/repos/dahjelle/make-livereload/forks","keys_url":"https://api.github.com/repos/dahjelle/make-livereload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dahjelle/make-livereload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dahjelle/make-livereload/teams","hooks_url":"https://api.github.com/repos/dahjelle/make-livereload/hooks","issue_events_url":"https://api.github.com/repos/dahjelle/make-livereload/issues/events{/number}","events_url":"https://api.github.com/repos/dahjelle/make-livereload/events","assignees_url":"https://api.github.com/repos/dahjelle/make-livereload/assignees{/user}","branches_url":"https://api.github.com/repos/dahjelle/make-livereload/branches{/branch}","tags_url":"https://api.github.com/repos/dahjelle/make-livereload/tags","blobs_url":"https://api.github.com/repos/dahjelle/make-livereload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dahjelle/make-livereload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dahjelle/make-livereload/git/refs{/sha}","trees_url":"https://api.github.com/repos/dahjelle/make-livereload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dahjelle/make-livereload/statuses/{sha}","languages_url":"https://api.github.com/repos/dahjelle/make-livereload/languages","stargazers_url":"https://api.github.com/repos/dahjelle/make-livereload/stargazers","contributors_url":"https://api.github.com/repos/dahjelle/make-livereload/contributors","subscribers_url":"https://api.github.com/repos/dahjelle/make-livereload/subscribers","subscription_url":"https://api.github.com/repos/dahjelle/make-livereload/subscription","commits_url":"https://api.github.com/repos/dahjelle/make-livereload/commits{/sha}","git_commits_url":"https://api.github.com/repos/dahjelle/make-livereload/git/commits{/sha}","comments_url":"https://api.github.com/repos/dahjelle/make-livereload/comments{/number}","issue_comment_url":"https://api.github.com/repos/dahjelle/make-livereload/issues/comments/{number}","contents_url":"https://api.github.com/repos/dahjelle/make-livereload/contents/{+path}","compare_url":"https://api.github.com/repos/dahjelle/make-livereload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dahjelle/make-livereload/merges","archive_url":"https://api.github.com/repos/dahjelle/make-livereload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dahjelle/make-livereload/downloads","issues_url":"https://api.github.com/repos/dahjelle/make-livereload/issues{/number}","pulls_url":"https://api.github.com/repos/dahjelle/make-livereload/pulls{/number}","milestones_url":"https://api.github.com/repos/dahjelle/make-livereload/milestones{/number}","notifications_url":"https://api.github.com/repos/dahjelle/make-livereload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dahjelle/make-livereload/labels{/name}","releases_url":"https://api.github.com/repos/dahjelle/make-livereload/releases{/id}","created_at":"2014-12-18T02:31:18Z","updated_at":"2014-12-18T02:31:18Z","pushed_at":"2014-12-18T15:00:27Z","git_url":"git://github.com/dahjelle/make-livereload.git","ssh_url":"git@github.com:dahjelle/make-livereload.git","clone_url":"https://github.com/dahjelle/make-livereload.git","svn_url":"https://github.com/dahjelle/make-livereload","homepage":null,"size":96,"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":"mklabs:master","ref":"master","sha":"97ccf3af7f51f62e3a3ae249e9abbe3a55ed33bc","user":{"login":"mklabs","id":113832,"avatar_url":"https://avatars.githubusercontent.com/u/113832?v=3","gravatar_id":"","url":"https://api.github.com/users/mklabs","html_url":"https://github.com/mklabs","followers_url":"https://api.github.com/users/mklabs/followers","following_url":"https://api.github.com/users/mklabs/following{/other_user}","gists_url":"https://api.github.com/users/mklabs/gists{/gist_id}","starred_url":"https://api.github.com/users/mklabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklabs/subscriptions","organizations_url":"https://api.github.com/users/mklabs/orgs","repos_url":"https://api.github.com/users/mklabs/repos","events_url":"https://api.github.com/users/mklabs/events{/privacy}","received_events_url":"https://api.github.com/users/mklabs/received_events","type":"User","site_admin":false},"repo":{"id":23761167,"name":"make-livereload","full_name":"mklabs/make-livereload","owner":{"login":"mklabs","id":113832,"avatar_url":"https://avatars.githubusercontent.com/u/113832?v=3","gravatar_id":"","url":"https://api.github.com/users/mklabs","html_url":"https://github.com/mklabs","followers_url":"https://api.github.com/users/mklabs/followers","following_url":"https://api.github.com/users/mklabs/following{/other_user}","gists_url":"https://api.github.com/users/mklabs/gists{/gist_id}","starred_url":"https://api.github.com/users/mklabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklabs/subscriptions","organizations_url":"https://api.github.com/users/mklabs/orgs","repos_url":"https://api.github.com/users/mklabs/repos","events_url":"https://api.github.com/users/mklabs/events{/privacy}","received_events_url":"https://api.github.com/users/mklabs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mklabs/make-livereload","description":"Livereload target for Make","fork":false,"url":"https://api.github.com/repos/mklabs/make-livereload","forks_url":"https://api.github.com/repos/mklabs/make-livereload/forks","keys_url":"https://api.github.com/repos/mklabs/make-livereload/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mklabs/make-livereload/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mklabs/make-livereload/teams","hooks_url":"https://api.github.com/repos/mklabs/make-livereload/hooks","issue_events_url":"https://api.github.com/repos/mklabs/make-livereload/issues/events{/number}","events_url":"https://api.github.com/repos/mklabs/make-livereload/events","assignees_url":"https://api.github.com/repos/mklabs/make-livereload/assignees{/user}","branches_url":"https://api.github.com/repos/mklabs/make-livereload/branches{/branch}","tags_url":"https://api.github.com/repos/mklabs/make-livereload/tags","blobs_url":"https://api.github.com/repos/mklabs/make-livereload/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mklabs/make-livereload/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mklabs/make-livereload/git/refs{/sha}","trees_url":"https://api.github.com/repos/mklabs/make-livereload/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mklabs/make-livereload/statuses/{sha}","languages_url":"https://api.github.com/repos/mklabs/make-livereload/languages","stargazers_url":"https://api.github.com/repos/mklabs/make-livereload/stargazers","contributors_url":"https://api.github.com/repos/mklabs/make-livereload/contributors","subscribers_url":"https://api.github.com/repos/mklabs/make-livereload/subscribers","subscription_url":"https://api.github.com/repos/mklabs/make-livereload/subscription","commits_url":"https://api.github.com/repos/mklabs/make-livereload/commits{/sha}","git_commits_url":"https://api.github.com/repos/mklabs/make-livereload/git/commits{/sha}","comments_url":"https://api.github.com/repos/mklabs/make-livereload/comments{/number}","issue_comment_url":"https://api.github.com/repos/mklabs/make-livereload/issues/comments/{number}","contents_url":"https://api.github.com/repos/mklabs/make-livereload/contents/{+path}","compare_url":"https://api.github.com/repos/mklabs/make-livereload/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mklabs/make-livereload/merges","archive_url":"https://api.github.com/repos/mklabs/make-livereload/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mklabs/make-livereload/downloads","issues_url":"https://api.github.com/repos/mklabs/make-livereload/issues{/number}","pulls_url":"https://api.github.com/repos/mklabs/make-livereload/pulls{/number}","milestones_url":"https://api.github.com/repos/mklabs/make-livereload/milestones{/number}","notifications_url":"https://api.github.com/repos/mklabs/make-livereload/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mklabs/make-livereload/labels{/name}","releases_url":"https://api.github.com/repos/mklabs/make-livereload/releases{/id}","created_at":"2014-09-07T14:01:59Z","updated_at":"2014-09-07T14:02:50Z","pushed_at":"2014-09-07T14:02:50Z","git_url":"git://github.com/mklabs/make-livereload.git","ssh_url":"git@github.com:mklabs/make-livereload.git","clone_url":"https://github.com/mklabs/make-livereload.git","svn_url":"https://github.com/mklabs/make-livereload","homepage":null,"size":100,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mklabs/make-livereload/pulls/3"},"html":{"href":"https://github.com/mklabs/make-livereload/pull/3"},"issue":{"href":"https://api.github.com/repos/mklabs/make-livereload/issues/3"},"comments":{"href":"https://api.github.com/repos/mklabs/make-livereload/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/mklabs/make-livereload/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/mklabs/make-livereload/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mklabs/make-livereload/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/mklabs/make-livereload/statuses/6af873c22a84483d1ba49e58c5b11559cbcc4870"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":41,"deletions":13,"changed_files":2}}