fix(watcher): unref lingering FSWatcher handles after stopping the node watcher

This commit is contained in:
2026-03-23 11:28:50 +00:00
parent 09485e20d9
commit 48081302c8
3 changed files with 15 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2026-03-23 - 6.3.1 - fix(watcher)
unref lingering FSWatcher handles after stopping the node watcher
- Ensures chokidar file watcher handles do not keep the process running after watcher shutdown
- Works around chokidar v5 behavior where close() can resolve before all fs.watch() handles are fully released
## 2025-12-11 - 6.3.0 - feat(watchers)
Integrate chokidar-based Node watcher, expose awaitWriteFinish options, and update docs/tests