microsoft / microsoft/TypeScript

TypeScript file watcher holds onto folders and causes EPERM

Open
#54,087 58 comments 26 reactions 1 assignee View on GitHub

@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:

  1. just rename or moving files/folder, and this problem occasionally.
  2. After restart vscode, the rename/moving operation completed automatically.
  3. 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.

  1. no other window opened.
  2. no vscode extension runing because I uninstall them all.
  3. only vscode using the file, It's weird because there are two records.
    image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.