Skip to content
✨ Publier v1 is live — a polished docs platform built for the open web.
On this page

publier dev

Start the development server.

Starts the development server with hot reload. The server restarts automatically when publier.config.yaml or theme.yaml changes.

Usage

Terminal window
publier dev

Requirements

A Publier seat is required — run publier login first. See the token model for where Publier looks for the credential.

Behavior

  • Watches publier.config.yaml and theme.yaml and restarts on change.
  • Listens on http://localhost:4321 by default.
  • Handles Ctrl+C (SIGINT) and SIGTERM cleanly.

Exit codes

CodeMeaning
0Server exited cleanly.
1Not signed in, or the account holds no Publier seat.
non-zeroServer exited with an error or was killed unexpectedly.