File watching does not work when workspace is opened from a Linux network path #16743
Replies: 2 comments 3 replies
-
|
Hey @VilikNakhshikyan, I'm not entirely sure how much we can actually do there, since the error simply indicates that parcel-watcher errored out while trying to watch the workspace. Can you reproduce the error with VSCode or one of its distributions (like VSCodium)? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the response. I’d like to clarify that this does not appear to be an issue on the VS Code side. The same workspace and network-mounted path work correctly in VS Code. The problem started after updating the Theia version. Before the update, external file changes on network paths were detected correctly. Please let me know if additional logs or reproduction steps would help. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I’m experiencing a problem with file watching in Theia on Linux when the workspace is opened from a network path․
When I edit files using external tools like vim or another editor, the changes are not detected by Theia.
I get the following popup message:
"Unable to watch for file changes in this large workspace. Please follow the instructions link to resolve this issue."
The popup links to the VS Code documentation:
https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
I have already tried everything suggested there:
Increased fs.inotify.max_user_watches
Increased fs.inotify.max_user_instances
Increased fs.inotify.max_queued_events
Applied the changes system-wide and verified with sysctl -a
Restarted the system and Theia multiple times
However, the problem still persists only when the workspace is located on a network-mounted path.
Local paths work fine.
Environment
Local OS: AlmaLinux 8.10
Net OS: CentOS 7
Theia version: 1.62.2
Are there any recommended settings or workarounds for this scenario?
Any guidance would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions