Dev Server

Run the local dev server with hot reload.

Dev Server

bash
tangly dev

Boots Astro under the hood, watches docs.json, MDX, and theme files. Changes reload in the browser without a full restart.

Common flags

FlagDefaultNotes
--port <n>4321Pick a different port.
--host <addr>localhostBind to 0.0.0.0 to expose on LAN.
--no-openoffDon’t auto-open the browser.
--base <path>/Subpath hosting (e.g. /docs).

Drafts

Pages with draft: true in frontmatter are visible in dev and hidden in build. To include drafts in a staging build:

bash
TANGLY_INCLUDE_DRAFTS=1 tangly build

Live docs

Full reference: tangly.dev/reference/cli/dev.

↑↓ navigate open esc close