Commands
Both commands work on the current directory as the site root.
| Command | What it does |
|---|---|
taragen serve |
Serves the site at http://localhost:8088, renders pages on request, shows drafts, and live reloads the browser when files change. |
taragen build |
Cleans _public/ and writes the whole site into it. Drafts are left out. Also available as taragen gen and taragen generate. |
The port (8088) and output directory (_public) are fixed.
build exits with a non-zero status on any error, so it is safe to use in CI
and deploy scripts.