Skip to content

lucerna watch

Index a project and automatically re-index files as they change. .gitignore files at any depth are respected automatically.

Terminal window
lucerna watch /path/to/project

All options from index (--storage-dir, --include, --exclude, --no-semantic, --embedder, --reranker, --config), plus:

OptionDescription
--debounce <ms>File-change debounce delay (default: 500)
Indexing /path/to/project...
Initial index complete. 142 files, 3817 chunks.
Watching for changes. Press Ctrl+C to stop.
[indexed] src/auth/middleware.ts (12 chunks)
[indexed] src/db/pool.ts (8 chunks)
[removed] src/legacy/old-auth.ts
[error] src/broken.ts: Unexpected token at line 42