Expand description
Debounced filesystem watcher for live re-indexing.
Requires the watch Cargo feature (pulls in notify). The watcher blocks
the calling thread until the event channel disconnects.
Strategy: accumulate interesting paths (.md / .rs / .canvas), wait for
a quiet period (WatchConfig::debounce), then run a full
WorkspaceIndexer::index_workspace (content-hash skips unchanged files)
which also remaps graph.mmap.
Structs§
- Watch
Config - Configuration for
watch_workspace.
Functions§
- watch_
workspace - Watch
workspacefor Markdown / Rust / Canvas changes and re-index + remmap.