Skip to main content

serve

Function serve 

Source
pub fn serve(opts: DevOptions) -> Result<()>
Expand description

Run the dev server: initial build, spawn the debounced watcher, bind 127.0.0.1, serve until Ctrl-C. Blocking entry point the docgen dev CLI arm calls. Owns its own tokio runtime so the docgen bin’s main stays a plain fn main() -> Result<()>.