microsoft / microsoft/TypeScript
TypeScript file watcher holds onto folders and causes EPERM
Open
@sheetalkamat is already working on this.
Since May 3, 2023.
Needs Investigation
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 117
Description
Does this issue occur when all extensions are disabled?: Yes/No
-
VS Code Version:
Version: 1.77.3 (user setup)
Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710
Date: 2023-04-12T09:16:02.548Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No -
OS Version: Windows 10 professional
Steps to Reproduce:
- just rename or moving files/folder, and this problem occasionally.
- After restart vscode, the rename/moving operation completed automatically.
- I'm pretty sure the rename/moving operation act normally in file explorer
I have checked all below items, so I'm pretty sure there is no other process using these files except vs code.
- no other window opened.
- no vscode extension runing because I uninstall them all.
- only vscode using the file, It's weird because there are two records.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.