{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5828","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5828/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5828/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5828/events","html_url":"https://github.com/Microsoft/TypeScript/issues/5828","id":119459368,"number":5828,"title":"Different tsconfig lookup behaviour between tsc and tsserver","user":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/API","name":"API","color":"bfe5bf"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"zhengbli","id":1171301,"avatar_url":"https://avatars.githubusercontent.com/u/1171301?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengbli","html_url":"https://github.com/zhengbli","followers_url":"https://api.github.com/users/zhengbli/followers","following_url":"https://api.github.com/users/zhengbli/following{/other_user}","gists_url":"https://api.github.com/users/zhengbli/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengbli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengbli/subscriptions","organizations_url":"https://api.github.com/users/zhengbli/orgs","repos_url":"https://api.github.com/users/zhengbli/repos","events_url":"https://api.github.com/users/zhengbli/events{/privacy}","received_events_url":"https://api.github.com/users/zhengbli/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/1","html_url":"https://github.com/Microsoft/TypeScript/milestones/TypeScript%202.0","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/1/labels","id":721040,"number":1,"title":"TypeScript 2.0","description":"The next major release of TypeScript","creator":{"login":"RyanCavanaugh","id":6685088,"avatar_url":"https://avatars.githubusercontent.com/u/6685088?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanCavanaugh","html_url":"https://github.com/RyanCavanaugh","followers_url":"https://api.github.com/users/RyanCavanaugh/followers","following_url":"https://api.github.com/users/RyanCavanaugh/following{/other_user}","gists_url":"https://api.github.com/users/RyanCavanaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanCavanaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanCavanaugh/subscriptions","organizations_url":"https://api.github.com/users/RyanCavanaugh/orgs","repos_url":"https://api.github.com/users/RyanCavanaugh/repos","events_url":"https://api.github.com/users/RyanCavanaugh/events{/privacy}","received_events_url":"https://api.github.com/users/RyanCavanaugh/received_events","type":"User","site_admin":false},"open_issues":129,"closed_issues":194,"state":"open","created_at":"2014-07-14T23:24:03Z","updated_at":"2016-04-21T23:37:06Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-11-30T10:06:10Z","updated_at":"2016-04-22T00:28:41Z","closed_at":null,"body":"_From @tkrotoff on November 26, 2015 18:37_\n\nContext: you can add all your .d.ts files inside tsconfig.json instead of writing `/// <reference path=\"my.d.ts\" />` in each .ts file (way better).\r\nIt works fine with `tsc`.\r\n\r\nUnfortunately it does not always work with vscode.\r\n\r\nExample: https://github.com/tkrotoff/vscode-tsconfig.conf-issue\r\n[test/tsconfig.json](https://github.com/tkrotoff/vscode-tsconfig.conf-issue/blob/master/test/tsconfig.json) references files outside its directory and vscode fails while `tsc` is fine with it.\r\n\r\n![screen shot 2015-11-26 at 19 16 56](https://cloud.githubusercontent.com/assets/643434/11429150/4f3fc188-9474-11e5-81fa-11fe3e735b0b.png)\n\n_Copied from original issue: Microsoft/vscode#716_"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/213173850","html_url":"https://github.com/Microsoft/TypeScript/issues/5828#issuecomment-213173850","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5828","id":213173850,"user":{"login":"zhengbli","id":1171301,"avatar_url":"https://avatars.githubusercontent.com/u/1171301?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengbli","html_url":"https://github.com/zhengbli","followers_url":"https://api.github.com/users/zhengbli/followers","following_url":"https://api.github.com/users/zhengbli/following{/other_user}","gists_url":"https://api.github.com/users/zhengbli/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengbli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengbli/subscriptions","organizations_url":"https://api.github.com/users/zhengbli/orgs","repos_url":"https://api.github.com/users/zhengbli/repos","events_url":"https://api.github.com/users/zhengbli/events{/privacy}","received_events_url":"https://api.github.com/users/zhengbli/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T00:28:41Z","updated_at":"2016-04-22T00:28:41Z","body":"If I understand correctly, this is asking for an API that is similar to \"open Project\"? For example, if the user can open a project by open a tsconfig.json file directly from VSCode, the aforementioned problems seems to solvable.\r\n\r\nThis works fine for one-time compilation, but in the server scenario this will cause many problems for us. For example, normally we install one recursive directory watcher at the project root, which detects file addition / removal *under* the root. Apparently that wouldn't work if your code lives at upper level. Also, what happens if you have another `tsconfig.json` somewhere in the upper level? The project boundaries become ambiguous.\r\n\r\nI think we need delicate design between we are committed to support this scenario.  "}}