{"action":"opened","number":77,"pull_request":{"url":"https://api.github.com/repos/telstra/openapi-platform/pulls/77","id":214128314,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTI4MzE0","html_url":"https://github.com/telstra/openapi-platform/pull/77","diff_url":"https://github.com/telstra/openapi-platform/pull/77.diff","patch_url":"https://github.com/telstra/openapi-platform/pull/77.patch","issue_url":"https://api.github.com/repos/telstra/openapi-platform/issues/77","number":77,"state":"open","locked":false,"title":"Added less monolithic alternatives to `watch`","user":{"login":"PatrickShaw","id":5153619,"node_id":"MDQ6VXNlcjUxNTM2MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5153619?v=4","gravatar_id":"","url":"https://api.github.com/users/PatrickShaw","html_url":"https://github.com/PatrickShaw","followers_url":"https://api.github.com/users/PatrickShaw/followers","following_url":"https://api.github.com/users/PatrickShaw/following{/other_user}","gists_url":"https://api.github.com/users/PatrickShaw/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickShaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickShaw/subscriptions","organizations_url":"https://api.github.com/users/PatrickShaw/orgs","repos_url":"https://api.github.com/users/PatrickShaw/repos","events_url":"https://api.github.com/users/PatrickShaw/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickShaw/received_events","type":"User","site_admin":false},"body":"I personally like running `watch` and not having to do anything else to get my servers up and running.\r\n\r\nThat said I realise not everyone wants to do this. For instance, not everyone needs to bundle and serve the UI during development.\r\n\r\nIf want some more control over what happens when you watch files do the following:\r\n1a. If you just need to transpile on file changes things run `watch:transpile` \r\n1b. If you need to transpile AND bundle files (for frontend dev), then run `watch:build`\r\n2. If you want to restart the node server everytime files are transpiled also run `watch:server` in another terminal.\r\n3. If you want to serve the UI and make your browser reload everytime the frontend is rebundled, then run `watch:frontend` as well.","created_at":"2018-09-09T05:00:17Z","updated_at":"2018-09-09T05:00:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/telstra/openapi-platform/pulls/77/commits","review_comments_url":"https://api.github.com/repos/telstra/openapi-platform/pulls/77/comments","review_comment_url":"https://api.github.com/repos/telstra/openapi-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telstra/openapi-platform/issues/77/comments","statuses_url":"https://api.github.com/repos/telstra/openapi-platform/statuses/c7a01a280171a0cb4641924b09b6c731249f8cb4","head":{"label":"PatrickShaw:seperate-watch","ref":"seperate-watch","sha":"c7a01a280171a0cb4641924b09b6c731249f8cb4","user":{"login":"PatrickShaw","id":5153619,"node_id":"MDQ6VXNlcjUxNTM2MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5153619?v=4","gravatar_id":"","url":"https://api.github.com/users/PatrickShaw","html_url":"https://github.com/PatrickShaw","followers_url":"https://api.github.com/users/PatrickShaw/followers","following_url":"https://api.github.com/users/PatrickShaw/following{/other_user}","gists_url":"https://api.github.com/users/PatrickShaw/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickShaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickShaw/subscriptions","organizations_url":"https://api.github.com/users/PatrickShaw/orgs","repos_url":"https://api.github.com/users/PatrickShaw/repos","events_url":"https://api.github.com/users/PatrickShaw/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickShaw/received_events","type":"User","site_admin":false},"repo":{"id":125690986,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU2OTA5ODY=","name":"openapi-platform","full_name":"PatrickShaw/openapi-platform","owner":{"login":"PatrickShaw","id":5153619,"node_id":"MDQ6VXNlcjUxNTM2MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/5153619?v=4","gravatar_id":"","url":"https://api.github.com/users/PatrickShaw","html_url":"https://github.com/PatrickShaw","followers_url":"https://api.github.com/users/PatrickShaw/followers","following_url":"https://api.github.com/users/PatrickShaw/following{/other_user}","gists_url":"https://api.github.com/users/PatrickShaw/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickShaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickShaw/subscriptions","organizations_url":"https://api.github.com/users/PatrickShaw/orgs","repos_url":"https://api.github.com/users/PatrickShaw/repos","events_url":"https://api.github.com/users/PatrickShaw/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickShaw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PatrickShaw/openapi-platform","description":null,"fork":true,"url":"https://api.github.com/repos/PatrickShaw/openapi-platform","forks_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/forks","keys_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/teams","hooks_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/hooks","issue_events_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/issues/events{/number}","events_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/events","assignees_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/assignees{/user}","branches_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/branches{/branch}","tags_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/tags","blobs_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/languages","stargazers_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/stargazers","contributors_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/contributors","subscribers_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/subscribers","subscription_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/subscription","commits_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/contents/{+path}","compare_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/merges","archive_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/downloads","issues_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/issues{/number}","pulls_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/labels{/name}","releases_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/releases{/id}","deployments_url":"https://api.github.com/repos/PatrickShaw/openapi-platform/deployments","created_at":"2018-03-18T03:59:28Z","updated_at":"2018-08-12T15:17:52Z","pushed_at":"2018-09-09T04:48:20Z","git_url":"git://github.com/PatrickShaw/openapi-platform.git","ssh_url":"git@github.com:PatrickShaw/openapi-platform.git","clone_url":"https://github.com/PatrickShaw/openapi-platform.git","svn_url":"https://github.com/PatrickShaw/openapi-platform","homepage":null,"size":1519,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"telstra:development","ref":"development","sha":"d59abd88b7e4332a4a6b412beace9f3bd882d17b","user":{"login":"telstra","id":3914896,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MTQ4OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/3914896?v=4","gravatar_id":"","url":"https://api.github.com/users/telstra","html_url":"https://github.com/telstra","followers_url":"https://api.github.com/users/telstra/followers","following_url":"https://api.github.com/users/telstra/following{/other_user}","gists_url":"https://api.github.com/users/telstra/gists{/gist_id}","starred_url":"https://api.github.com/users/telstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telstra/subscriptions","organizations_url":"https://api.github.com/users/telstra/orgs","repos_url":"https://api.github.com/users/telstra/repos","events_url":"https://api.github.com/users/telstra/events{/privacy}","received_events_url":"https://api.github.com/users/telstra/received_events","type":"Organization","site_admin":false},"repo":{"id":125442118,"node_id":"MDEwOlJlcG9zaXRvcnkxMjU0NDIxMTg=","name":"openapi-platform","full_name":"telstra/openapi-platform","owner":{"login":"telstra","id":3914896,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5MTQ4OTY=","avatar_url":"https://avatars2.githubusercontent.com/u/3914896?v=4","gravatar_id":"","url":"https://api.github.com/users/telstra","html_url":"https://github.com/telstra","followers_url":"https://api.github.com/users/telstra/followers","following_url":"https://api.github.com/users/telstra/following{/other_user}","gists_url":"https://api.github.com/users/telstra/gists{/gist_id}","starred_url":"https://api.github.com/users/telstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telstra/subscriptions","organizations_url":"https://api.github.com/users/telstra/orgs","repos_url":"https://api.github.com/users/telstra/repos","events_url":"https://api.github.com/users/telstra/events{/privacy}","received_events_url":"https://api.github.com/users/telstra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telstra/openapi-platform","description":"Project in development - Open sourced service overlay for SDK management using swagger-codegen","fork":false,"url":"https://api.github.com/repos/telstra/openapi-platform","forks_url":"https://api.github.com/repos/telstra/openapi-platform/forks","keys_url":"https://api.github.com/repos/telstra/openapi-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telstra/openapi-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telstra/openapi-platform/teams","hooks_url":"https://api.github.com/repos/telstra/openapi-platform/hooks","issue_events_url":"https://api.github.com/repos/telstra/openapi-platform/issues/events{/number}","events_url":"https://api.github.com/repos/telstra/openapi-platform/events","assignees_url":"https://api.github.com/repos/telstra/openapi-platform/assignees{/user}","branches_url":"https://api.github.com/repos/telstra/openapi-platform/branches{/branch}","tags_url":"https://api.github.com/repos/telstra/openapi-platform/tags","blobs_url":"https://api.github.com/repos/telstra/openapi-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telstra/openapi-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telstra/openapi-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/telstra/openapi-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telstra/openapi-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/telstra/openapi-platform/languages","stargazers_url":"https://api.github.com/repos/telstra/openapi-platform/stargazers","contributors_url":"https://api.github.com/repos/telstra/openapi-platform/contributors","subscribers_url":"https://api.github.com/repos/telstra/openapi-platform/subscribers","subscription_url":"https://api.github.com/repos/telstra/openapi-platform/subscription","commits_url":"https://api.github.com/repos/telstra/openapi-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/telstra/openapi-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/telstra/openapi-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/telstra/openapi-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/telstra/openapi-platform/contents/{+path}","compare_url":"https://api.github.com/repos/telstra/openapi-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telstra/openapi-platform/merges","archive_url":"https://api.github.com/repos/telstra/openapi-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telstra/openapi-platform/downloads","issues_url":"https://api.github.com/repos/telstra/openapi-platform/issues{/number}","pulls_url":"https://api.github.com/repos/telstra/openapi-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/telstra/openapi-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/telstra/openapi-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telstra/openapi-platform/labels{/name}","releases_url":"https://api.github.com/repos/telstra/openapi-platform/releases{/id}","deployments_url":"https://api.github.com/repos/telstra/openapi-platform/deployments","created_at":"2018-03-16T00:27:29Z","updated_at":"2018-09-08T01:27:12Z","pushed_at":"2018-09-09T04:52:12Z","git_url":"git://github.com/telstra/openapi-platform.git","ssh_url":"git@github.com:telstra/openapi-platform.git","clone_url":"https://github.com/telstra/openapi-platform.git","svn_url":"https://github.com/telstra/openapi-platform","homepage":"","size":1421,"stargazers_count":5,"watchers_count":5,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3,"open_issues":8,"watchers":5,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/telstra/openapi-platform/pulls/77"},"html":{"href":"https://github.com/telstra/openapi-platform/pull/77"},"issue":{"href":"https://api.github.com/repos/telstra/openapi-platform/issues/77"},"comments":{"href":"https://api.github.com/repos/telstra/openapi-platform/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/telstra/openapi-platform/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/telstra/openapi-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telstra/openapi-platform/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/telstra/openapi-platform/statuses/c7a01a280171a0cb4641924b09b6c731249f8cb4"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":4,"additions":185,"deletions":88,"changed_files":4}}
{"actor":{"display_login":"PatrickShaw"}}