[Bug]: "Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC)
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Opera
- Local OS: Synology DSM
- Remote OS: Windows 10
- Remote Architecture: ARM64 v8
- `code-server --version`: 4.0.1
Expected
It should not return error
Actual
It show error
"Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC)
Logs
none
Screenshot/Video

Does this issue happen in VS Code?
- I cannot reproduce this in VS Code.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
I am using the fixes at https://gist.github.com/tbjgolden/c53ca37f3bc2fab8c930183310918c8c and https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
But none of these works, it returns:

Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
VSC unable to watch for file changes in this large workspace ...
You have to access the side-bar extensions menu: Ctrl + Shift + X . Then type: @builtin types and disable the extension: TypeScript...
Read more >"Visual Studio Code is unable to watch for file changes in this ...
Issue Type: Bug I am seeing an uptick of ENOSPEC errors. I added a script to see how many files we're watching and...
Read more >How to fix Unable to watch for file changes in this ... - YouTube
This video explains how to increase the user watches limit in visual studio code in a very simple to follow along video.Step 1....
Read more >Why would the Linux error 'Visual Studio Code is unable to ...
Solved… In my case is that because I have remote development enabled. The limitations of the remote Linux environnement have to be raised....
Read more >Running Visual Studio Code on Linux
"Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC) The new value can then be loaded...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hmm I do agree Synology have lots of stupid issues and their docker version is ancient… What is interesting is, before when I was in older version, this error didnt pop up…
Hmm…well things definitely changed in code-server between versions so not ruling that out, but at least we agree. Let’s move this to a Q and A then and continue there.