Skip to main content

Module rebuild

Module rebuild 

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

RebuildCallbacks
Callbacks for CLI-specific operations.
RebuildPipeline
Rebuild pipeline for hot-reload.

Type Aliases§

ParamLoaderFn
Callback type for loading parameters from a rebuilt dylib.
ProcessorLoaderFn
Callback type for loading processors from a rebuilt dylib.
ProcessorTsTypesWriterFn
Callback type for writing generated TypeScript processor ID types.
SidecarWriterFn
Callback type for writing parameter cache to a sidecar file.
TsTypesWriterFn
Callback type for writing generated TypeScript parameter ID types.