Home

stencila site preview

Preview the workspace site locally with live reload

Usage

stencila site preview [OPTIONS] [ROUTE]

Examples

# Preview site at root
stencila site preview

# Preview a specific route
stencila site preview /docs/guide/

# Preview without opening browser
stencila site preview --no-open

# Preview on different port
stencila site preview --port 8080

# Preview without file watching
stencila site preview --no-watch

Arguments

NameDescription
[ROUTE]Route to open in browser (default: /). Default value: /.

Options

NameDescription
-p, --portPort to serve on. Default value: 9000.
--no-openDo not open browser automatically. Possible values: true, false.
--no-watchDo not watch for file changes. Possible values: true, false.
© 2026 Stencila