DOCS / CLI REFERENCE

cluck roost

Starts a local development server with hot reload.

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

FlagDescription
--port PPort to listen on (default 4747)
--openOpen the browser automatically
--httpsServe 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

0Success. A quiet cluck.
1The command ran but reported a problem, such as a failing check.
2Bad usage: a flag was missing or invalid.
3Authentication or permission error. See HEN-2001.

Used in guides

Common errors

Related commands