Skip to main content

run

Function run 

Source
pub fn run(config: &RpcConfig) -> Result<()>
Expand description

Runs the watch loop: performs an initial generation, then watches for changes in the api directory and regenerates TypeScript files on each change.

Blocks until the process receives SIGINT (Ctrl+C).