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

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 valid license token is required. See the token model for where Publier looks for it.

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.
1Missing or invalid license token.
non-zeroServer exited with an error or was killed unexpectedly.