{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7762","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7762/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7762/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7762/events","html_url":"https://github.com/Microsoft/TypeScript/issues/7762","id":145122180,"number":7762,"title":"Users cannot rename/delete directories because tsserver locks them","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T08:42:52Z","updated_at":"2016-04-01T12:10:34Z","closed_at":null,"body":"<!--\r\nThank you for contributing to TypeScript! Please review this checklist\r\n       before submitting your issue.\r\n[ ] Many common issues and suggestions are addressed in the FAQ\r\n     https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n[ ] Search for duplicates before logging new issues\r\n    https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&q=is%3Aissue\r\n[ ] Questions are best asked and answered at Stack Overflow\r\n    http://stackoverflow.com/questions/tagged/typescript\r\n\r\nFor bug reports, please include the information below.\r\n__________________________________________________________ -->\r\n\r\n**TypeScript Version:** \r\n\r\n1.8.9\r\n\r\nTo reproduce use VSCode from Insider Channel (https://code.visualstudio.com/Download#insiders)\r\n\r\n- create workspace\r\n- create tsconfig.json with content\r\n```json\r\n{\r\n\t\"compilerOptions\": {\r\n\t\t\"module\": \"commonjs\"\r\n\t}\r\n}\r\n```\r\n- create test.ts with content\r\n```ts\r\nclass A {\t\r\n}\r\n```\r\n- create folder libs\r\n- create folder libs\\superLib\r\n- create file libs\\superLib\\lib.d.ts with content\r\n```ts\r\nexport function foo();\r\n```\r\n- start VSCode\r\n- open test.ts\r\n- try to rename libs to libs2\r\n\r\nObserver: you can't the directory is locked.\r\n\r\n- Use for example handle.exe from SysInternals or a process explorer to check who is holding a lock on the .\\libs directory. It is the tsserver.\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/1931590/14202545/db08ec70-f7f8-11e5-83dc-d40104f63efc.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/204372108","html_url":"https://github.com/Microsoft/TypeScript/issues/7762#issuecomment-204372108","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/7762","id":204372108,"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},"created_at":"2016-04-01T12:10:34Z","updated_at":"2016-04-01T12:10:34Z","body":"The problem already existed in 1.8.2 which shipped in in 0.10.11. It was not in the release before which shipped with 1.7.x of TS."}}