Expand description
Watch module: Real-time file watcher for Codemem.
Uses notify with debouncing to detect file changes and trigger re-indexing.
Respects .gitignore and common ignore patterns.
Structs§
- File
Watcher - File watcher that monitors a directory for changes with 50ms debouncing.
Enums§
- Watch
Event - Events emitted by the file watcher.
Functions§
- build_
gitignore - Build a
Gitignorematcher from a project root. - detect_
language - Detect programming language from file extension.
- is_
watchable - Check if a file extension is watchable.
- should_
ignore - Check if a path should be ignored.