You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can run into OS-level limits on the number of file watchers available, which causes jurigged to fail on large projects. I've been messing around with this on such a project, and found a workaround by monkeypatching Watcher instead use a single watchdog.Observer.
I was wondering: is this a bad idea for a reason I don't understand yet? And if not: any chance y'all would accept a pull request to make this change?
The text was updated successfully, but these errors were encountered:
Hi! This isn't an issue request so much as a discussion, but I had a question about the implementation that I wanted to ask about.
In
jurigged.live::Watcher::on_prepare
we end upself.observer.schedule
-ing once per-directory:jurigged/src/jurigged/live.py
Lines 96 to 98 in afed805
jurigged/src/jurigged/live.py
Lines 150 to 154 in afed805
This can run into OS-level limits on the number of file watchers available, which causes
jurigged
to fail on large projects. I've been messing around with this on such a project, and found a workaround by monkeypatchingWatcher
instead use a singlewatchdog.Observer
.I was wondering: is this a bad idea for a reason I don't understand yet? And if not: any chance y'all would accept a pull request to make this change?
The text was updated successfully, but these errors were encountered: