Synopsis
cluck roost [--port P]
Description
Starts a local development server with hot reload. Everything stays on your machine until you decide to deploy.
Options
| Flag | Description |
|---|---|
--port P | Port to listen on (default 4747) |
--open | Open the browser automatically |
--https | Serve with a local certificate |
All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.
Example
$ cluck roost --open
✔ Listening on http://localhost:4747
✔ Watching 128 files
Exit codes
| 0 | Success. A quiet cluck. |
|---|---|
| 1 | The command ran but reported a problem, such as a failing check. |
| 2 | Bad usage: a flag was missing or invalid. |
| 3 | Authentication or permission error. See HEN-2001. |