Command

bengal preview

Build and serve completed output

Usage

BASH
bengal preview [OPTIONS]

Options

Option Type Description
--auto-port flag BOOLEAN

Find available port if specified port is taken

--config STRING

Path to config file (default: bengal.toml)

--debug flag BOOLEAN

Show debug output and full tracebacks

--environment STRING

Environment: local, preview, production

Default:preview
--host STRING

Server host address

Default:localhost
--incremental flag BOOLEAN

Use incremental build cache before previewing

--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

--strict flag BOOLEAN

Fail preview build on validation errors

--style STRING

Output style: dense, ascii, or ci

Default:dense
--traceback STRING

Traceback verbosity: full | compact | minimal | off

--verbose flag BOOLEAN

Show detailed build and server activity

--yes flag BOOLEAN

Skip free-threading confirmation (for CI/automation)