Expand description
Hot-reload rebuild pipeline
This module provides automatic rebuilding when Rust source files change. The pipeline watches for file changes, triggers a Cargo build, and updates the development server’s parameter state without dropping WebSocket connections.
CLI-specific functions (dylib discovery, subprocess param extraction, sidecar
caching) are injected via RebuildCallbacks to keep this crate CLI-agnostic.
Structs§
- Rebuild
Callbacks - Callbacks for CLI-specific operations.
- Rebuild
Pipeline - Rebuild pipeline for hot-reload.
Type Aliases§
- Param
Loader Fn - Callback type for loading parameters from a rebuilt dylib.
- Processor
Loader Fn - Callback type for loading processors from a rebuilt dylib.
- Processor
TsTypes Writer Fn - Callback type for writing generated TypeScript processor ID types.
- Sidecar
Writer Fn - Callback type for writing parameter cache to a sidecar file.
- TsTypes
Writer Fn - Callback type for writing generated TypeScript parameter ID types.