Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to watch for file changes in this large workspace #12898

Open
safisa opened this issue Sep 12, 2023 · 2 comments
Open

Unable to watch for file changes in this large workspace #12898

safisa opened this issue Sep 12, 2023 · 2 comments
Labels
file-watchers issues related to filesystem watchers - nsfw

Comments

@safisa
Copy link
Contributor

safisa commented Sep 12, 2023

Bug Description:

Hi,

I added a web application (react) to my workspace, once I ran npm install that added a large node_modules folder to my workspace (inside an inner folder), I started getting this notification warning on load:
Unable to watch for file changes in this large workspace. The information you see may not include recent file changes.
I see also this error in Theia log:
ERROR [nsfw-watcher: 839] NSFW service error on "<workspace>": [Error: Inotify limit reached]

I have added this exclusion to my workspace settings under files.watcherExclude: "**/node_modules/**": true
but this did not help. it seems it is being ignored...

Additional Information

  • Operating System: Linux
  • Theia Version: 1.40
@safisa
Copy link
Contributor Author

safisa commented Sep 21, 2023

Hi,
Any help on this issue? files.watcherExclude maybe not working correctly?

Thanks

@msujew
Copy link
Member

msujew commented Sep 21, 2023

As far as I'm aware, file watcher exclusion does not work in the file watching library we're using see also Axosoft/nsfw#54.

@msujew msujew added the file-watchers issues related to filesystem watchers - nsfw label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
file-watchers issues related to filesystem watchers - nsfw
Projects
None yet
Development

No branches or pull requests

2 participants