Module watcher

Module watcher 

Source
Expand description

Dual-Watcher Architecture - LSP + File System monitoring

Provides two-tier file change detection:

  1. LSP Watcher (Primary): Monitors Language Server Protocol events
  2. File System Watcher (Fallback): Monitors actual file system changes

The LSP watcher detects changes before they hit the disk, enabling faster response times and semantic understanding of code changes.

Structs§

DualWatcher
Dual Watcher - combines LSP and File System watchers
FileChange
File change event
FileWatcher
File System Watcher - monitors actual file system changes
LspEvent
LSP event (simplified - full LSP protocol would be more complex)
LspWatcher
LSP Watcher - monitors Language Server Protocol events

Enums§

ChangeKind
Type of file change
ChangeSource
Source of the change detection