pub async fn serve(port: u16, path: Option<PathBuf>) -> Result<()>Expand description
Run the background server with live file watching
Improvements over osgrep:
- Native Rust HTTP server (axum) - faster than Node.js
- Built-in file watching with native notify crate
- Two-level change detection (mtime + hash)
- Tracks chunk IDs for efficient incremental updates