This message is not a recommendation for a new program! How many sketches and libraries can you have?
The instruction link gives tips for Unix operating systens, but nothing for Windows!
pert
May 2, 2021, 10:03am
#2
This is a known bug, which is tracked here:
opened 04:17PM - 25 Feb 21 UTC
closed 01:24PM - 15 Sep 22 UTC
conclusion: resolved
topic: code
type: imperfection
criticality: high
I occasionally get this warning from a new, bare minimum sketch:
```
Unable to… watch for file changes in this large workspace. Please follow the instructions link to resolve this issue.
```

There doesn't seem to be any pattern to when I get it. I have a nearly empty sketchbook with only one library installed.
The linked instructions are certainly nothing a beginner would enjoy being exposed to:
https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
It seems like this is a spurious warning and not a good user experience, especially for a beginner who won’t understand how to interpret it and may treat it as a “red herring” for completely unrelated problems they are having ([example](https://github.com/arduino/arduino-ide/issues/151)).
### Arduino IDE version
#### Original report
Unknown
#### Last verified with
```text
Version: 2.0.0-rc5-snapshot-b069f94
Date: 2022-04-05T09:31:01.231Z
CLI Version: 0.21.0 [10107d24]
```
### Operating system
Windows
### Operating system version
10
### Additional context
[ originally reported by @per1234 ]
The warning message does not indicate any problem. Please just ignore it.
The solution I found and it's work for me is
add this line fs.inotify.max_user_watches=524288
in to /etc/sysctl.conf
and then run the command sudo sysctl -p
and then go to your vscode settings find a file called settings.json
and this line to it.
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
}
As I said, there are hints for Unix / Linux but nothing for Windows 10.
system
Closed
August 31, 2021, 2:55pm
#5
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.