fix(fs): log file watcher errors (#3621)

In plugins/fs/src/watcher.rs, notify errors were discarded (TODO), so a
watch that died left no trace. They are now logged with log::error!.
Reporting them to the JS callback would change the event payload and is
deferred to v3.
This commit is contained in:
Lucas Fernandes Nogueira
2026-09-23 12:57:33 -03:00
committed by GitHub
parent 101e1b068a
commit 0c84c917e3
2 changed files with 18 additions and 6 deletions
+6
View File
@@ -0,0 +1,6 @@
---
fs: patch
fs-js: patch
---
File watcher errors (e.g. the watched directory was removed or the inotify limit was reached) are now logged instead of being silently dropped.