BREAKING CHANGE(watchers): Replace polling-based write stabilization with debounce-based event coalescing and simplify watcher options

This commit is contained in:
2025-12-08 16:06:18 +00:00
parent 5a6d9a2575
commit 097ea96e99
9 changed files with 106 additions and 288 deletions

View File

@@ -132,9 +132,7 @@ export class Smartwatch {
basePaths: watchPaths,
depth: 4,
followSymlinks: false,
stabilityThreshold: 100,
pollInterval: 100,
maxWaitTime: 1000
debounceMs: 100
});
// Subscribe to watcher events and dispatch to appropriate subjects