Skip to main content

Module serve

Module serve 

Source
Expand description

Development server for webui-press.

Composes webui_dev_server primitives:

Press-specific responsibilities that stay in this file:

  • re-reading and parsing config.json on every rebuild so live edits take effect,
  • calling build_docs and reusing the syntect highlighter across rebuilds via BuildCache,
  • serving the flat out_dir (the dev-server crate handles the actual HTTP machinery — this module just wires it up).

Structs§

ServeConfig
Inputs needed to start the dev server.

Functions§

run_serve
Run the dev server until interrupted.