The dev server: Bandit serving the built _site/, a file watcher that
rebuilds on change, and live reload over server-sent events.
Serve mode is the one place Cherry runs long-lived processes; production output stays plain static files.
Summary
Functions
Builds the site once, then starts the server + watcher supervision tree.
Functions
@spec start(keyword()) :: {:ok, pid(), :inet.port_number()} | {:error, String.t()}
Builds the site once, then starts the server + watcher supervision tree.
Options: :source (site root, required), :output (default
source/_site), :port (default 4000). Returns the supervisor pid and
the port actually bound (pass port: 0 for an ephemeral port).