Skip to main content

Module watch

Module watch 

Source
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§

FileWatcher
File watcher that monitors a directory for changes with 50ms debouncing.

Enums§

WatchEvent
Events emitted by the file watcher.

Functions§

detect_language
Detect programming language from file extension.