Watch mode — rebuild on every change, plus --serve for a dependency-free dev server with CSS hot-swap.
Usage#
terminal
npx nakshora dev --serveFlags#
| Flag | Meaning |
|---|---|
--watch | Rebuild on content changes (default) |
--serve | Start 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
