Watch mode — rebuild on every change.

Usage#

terminal
bash
npx nakshora dev --serve

Flags#

FlagMeaning
--watchRebuild on content changes (default)
--serveStart the dependency-free dev server with CSS hot-swap
--port <n>Dev server port

What to expect#

Watches content and config, rebuilding in ~1 ms increments. --serve additionally starts a static server that hot-swaps the compiled CSS without reloading the page.

Troubleshooting#

  • CSS not updating → check the watched globs include your templates
  • Port busy → pass --port

See also#

cli/index|CLI hub · configuration/index|Configuration reference