question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: "Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC)

See original GitHub issue

Is 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

image

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ItzMiracleOwOcommented, Jan 26, 2022

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…

0reactions
jsjoeiocommented, Jan 26, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found