Skip to main content

Module watch

Module watch 

Source
Expand description

asd watch — keep the index fresh automatically (suite-onboarding t-009).

Watches the repo for source changes and re-indexes, debounced. Pairs with the always-on nudge (t-007) and the stale warnings prepare-change/status already emit — this is the hands-off option so the index never drifts.

Structs§

WatchArgs

Functions§

is_relevant_change
Should a changed path trigger a reindex? Skips VCS/build/index-internal paths and non-source files, so editor churn and the index’s own writes don’t cause a reindex loop.
run