Command

bengal serve

Start dev server with hot reload

Usage

bengal serve [OPTIONS]

Options

Option Type Description
--all-versions flag BOOLEAN

Build all versions (git versioning mode)

--auto-port flag BOOLEAN

Find available port if specified port is taken

--complete flag BOOLEAN

Wait for deploy-quality artifacts, health checks, and caches before serving

--config STRING

Path to config file (default: bengal.toml)

--debug flag BOOLEAN

Show debug output and full tracebacks

--environment STRING

Environment: local, preview, production

--host STRING

Server host address

Default:localhost
--open-browser flag BOOLEAN

Open browser after server starts

--port INTEGER

Server port number

Default:5173
--profile STRING

Config profile: writer, theme-dev, dev

--source STRING

Source directory path

--style STRING

Output style: dense, ascii, or ci

Default:dense
--traceback STRING

Traceback verbosity: full | compact | minimal | off

--verbose flag BOOLEAN

Show detailed server activity

--version-scope STRING

Focus on single version (e.g., v2, latest)

--watch flag BOOLEAN

Watch for file changes and rebuild