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
publier devRequirements
A valid license token is required. See the token model for where Publier looks for it.
Behavior
- Watches
publier.config.yamlandtheme.yamland restarts on change. - Listens on
http://localhost:4321by default. - Handles
Ctrl+C(SIGINT) andSIGTERMcleanly.
Exit codes
| Code | Meaning |
|---|---|
0 | Server exited cleanly. |
1 | Missing or invalid license token. |
| non-zero | Server exited with an error or was killed unexpectedly. |