Skip to main content

Module watcher

Module watcher 

Source
Expand description

File watcher — monitors a vault directory for external .md changes and syncs them into the DB and graph. Uses debounced notify events (500ms).

Structs§

ChangedPage
A page that was created or modified by an external change.
VaultChangedPayload
Payload emitted when the watcher detects vault changes.

Functions§

start_watcher
Start watching a vault directory for .md file changes. Returns the debouncer handle — drop it to stop watching.

Type Aliases§

OnVaultChanged
Callback type for vault change notifications. The bridge layer sets this to emit a Qt signal.