{"action":"opened","number":16527,"pull_request":{"url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/16527","id":125654639,"html_url":"https://github.com/Microsoft/TypeScript/pull/16527","diff_url":"https://github.com/Microsoft/TypeScript/pull/16527.diff","patch_url":"https://github.com/Microsoft/TypeScript/pull/16527.patch","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/16527","number":16527,"state":"open","locked":false,"title":"Watch for the creation of missing files","user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars1.githubusercontent.com/u/10508071?v=3","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"body":"When we discover that a file is missing, call sys.watchFile on its path so that we can update our state when it is created.\r\n\r\n1) For tsc --watch, we schedule a new build\r\n2) For tsserver, we update the containing projects\r\n\r\nCaveat: VS will not know about the state change in tsserver until the next time it synchronizes its project list","created_at":"2017-06-14T17:47:40Z","updated_at":"2017-06-14T17:47:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[{"login":"billti","id":993909,"avatar_url":"https://avatars0.githubusercontent.com/u/993909?v=3","gravatar_id":"","url":"https://api.github.com/users/billti","html_url":"https://github.com/billti","followers_url":"https://api.github.com/users/billti/followers","following_url":"https://api.github.com/users/billti/following{/other_user}","gists_url":"https://api.github.com/users/billti/gists{/gist_id}","starred_url":"https://api.github.com/users/billti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billti/subscriptions","organizations_url":"https://api.github.com/users/billti/orgs","repos_url":"https://api.github.com/users/billti/repos","events_url":"https://api.github.com/users/billti/events{/privacy}","received_events_url":"https://api.github.com/users/billti/received_events","type":"User","site_admin":false},{"login":"rbuckton","id":3902892,"avatar_url":"https://avatars1.githubusercontent.com/u/3902892?v=3","gravatar_id":"","url":"https://api.github.com/users/rbuckton","html_url":"https://github.com/rbuckton","followers_url":"https://api.github.com/users/rbuckton/followers","following_url":"https://api.github.com/users/rbuckton/following{/other_user}","gists_url":"https://api.github.com/users/rbuckton/gists{/gist_id}","starred_url":"https://api.github.com/users/rbuckton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbuckton/subscriptions","organizations_url":"https://api.github.com/users/rbuckton/orgs","repos_url":"https://api.github.com/users/rbuckton/repos","events_url":"https://api.github.com/users/rbuckton/events{/privacy}","received_events_url":"https://api.github.com/users/rbuckton/received_events","type":"User","site_admin":false},{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars0.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},{"login":"andy-ms","id":19274678,"avatar_url":"https://avatars0.githubusercontent.com/u/19274678?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-ms","html_url":"https://github.com/andy-ms","followers_url":"https://api.github.com/users/andy-ms/followers","following_url":"https://api.github.com/users/andy-ms/following{/other_user}","gists_url":"https://api.github.com/users/andy-ms/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-ms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-ms/subscriptions","organizations_url":"https://api.github.com/users/andy-ms/orgs","repos_url":"https://api.github.com/users/andy-ms/repos","events_url":"https://api.github.com/users/andy-ms/events{/privacy}","received_events_url":"https://api.github.com/users/andy-ms/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/16527/commits","review_comments_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/16527/comments","review_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/16527/comments","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/f33d4e0eea1498babf20466d51bc77a61598e4e1","head":{"label":"amcasey:PrelimVsts434619","ref":"PrelimVsts434619","sha":"f33d4e0eea1498babf20466d51bc77a61598e4e1","user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars1.githubusercontent.com/u/10508071?v=3","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"repo":{"id":87999863,"name":"TypeScript","full_name":"amcasey/TypeScript","owner":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars1.githubusercontent.com/u/10508071?v=3","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amcasey/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":true,"url":"https://api.github.com/repos/amcasey/TypeScript","forks_url":"https://api.github.com/repos/amcasey/TypeScript/forks","keys_url":"https://api.github.com/repos/amcasey/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amcasey/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amcasey/TypeScript/teams","hooks_url":"https://api.github.com/repos/amcasey/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/amcasey/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/amcasey/TypeScript/events","assignees_url":"https://api.github.com/repos/amcasey/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/amcasey/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/amcasey/TypeScript/tags","blobs_url":"https://api.github.com/repos/amcasey/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amcasey/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amcasey/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/amcasey/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amcasey/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/amcasey/TypeScript/languages","stargazers_url":"https://api.github.com/repos/amcasey/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/amcasey/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/amcasey/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/amcasey/TypeScript/subscription","commits_url":"https://api.github.com/repos/amcasey/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/amcasey/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/amcasey/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/amcasey/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/amcasey/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/amcasey/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amcasey/TypeScript/merges","archive_url":"https://api.github.com/repos/amcasey/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amcasey/TypeScript/downloads","issues_url":"https://api.github.com/repos/amcasey/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/amcasey/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/amcasey/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/amcasey/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amcasey/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/amcasey/TypeScript/releases{/id}","deployments_url":"https://api.github.com/repos/amcasey/TypeScript/deployments","created_at":"2017-04-12T02:17:19Z","updated_at":"2017-04-12T02:18:02Z","pushed_at":"2017-06-14T17:45:21Z","git_url":"git://github.com/amcasey/TypeScript.git","ssh_url":"git@github.com:amcasey/TypeScript.git","clone_url":"https://github.com/amcasey/TypeScript.git","svn_url":"https://github.com/amcasey/TypeScript","homepage":"http://www.typescriptlang.org","size":372842,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"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":"Microsoft:master","ref":"master","sha":"fbe002a59534a522330d047b367409d57d3fc97d","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars1.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":20929025,"name":"TypeScript","full_name":"Microsoft/TypeScript","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars1.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/TypeScript","description":"TypeScript is a superset of JavaScript that compiles to clean JavaScript output.","fork":false,"url":"https://api.github.com/repos/Microsoft/TypeScript","forks_url":"https://api.github.com/repos/Microsoft/TypeScript/forks","keys_url":"https://api.github.com/repos/Microsoft/TypeScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/TypeScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/TypeScript/teams","hooks_url":"https://api.github.com/repos/Microsoft/TypeScript/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/TypeScript/events","assignees_url":"https://api.github.com/repos/Microsoft/TypeScript/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/TypeScript/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/TypeScript/tags","blobs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/TypeScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/TypeScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/TypeScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/TypeScript/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/TypeScript/languages","stargazers_url":"https://api.github.com/repos/Microsoft/TypeScript/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/TypeScript/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/TypeScript/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/TypeScript/subscription","commits_url":"https://api.github.com/repos/Microsoft/TypeScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/TypeScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/TypeScript/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/TypeScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/TypeScript/merges","archive_url":"https://api.github.com/repos/Microsoft/TypeScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/TypeScript/downloads","issues_url":"https://api.github.com/repos/Microsoft/TypeScript/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/TypeScript/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/TypeScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/TypeScript/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/TypeScript/deployments","created_at":"2014-06-17T15:28:39Z","updated_at":"2017-06-14T16:23:11Z","pushed_at":"2017-06-14T17:44:01Z","git_url":"git://github.com/Microsoft/TypeScript.git","ssh_url":"git@github.com:Microsoft/TypeScript.git","clone_url":"https://github.com/Microsoft/TypeScript.git","svn_url":"https://github.com/Microsoft/TypeScript","homepage":"http://www.typescriptlang.org","size":388934,"stargazers_count":22867,"watchers_count":22867,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3337,"mirror_url":null,"open_issues_count":2148,"forks":3337,"open_issues":2148,"watchers":22867,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/16527"},"html":{"href":"https://github.com/Microsoft/TypeScript/pull/16527"},"issue":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/16527"},"comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/issues/16527/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/16527/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/TypeScript/pulls/16527/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/TypeScript/statuses/f33d4e0eea1498babf20466d51bc77a61598e4e1"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":211,"deletions":13,"changed_files":11}}
{"actor":{"display_login":"amcasey"}}