Functions
serve
🚀 Start development server with hot reload.
Watches for changes in content, assets, and templates,…
serve
def serve(host: str, port: int, watch: bool, auto_port: bool, open_browser: bool, environment: str | None, profile: str | None, verbose: bool, debug: bool, traceback: str | None, config: str, source: str) -> None
🚀 Start development server with hot reload.
Watches for changes in content, assets, and templates, automatically rebuilding the site when files are modified.
Parameters 12
| Name | Type | Default | Description |
|---|---|---|---|
host |
str |
— | |
port |
int |
— | |
watch |
bool |
— | |
auto_port |
bool |
— | |
open_browser |
bool |
— | |
environment |
str | None |
— | |
profile |
str | None |
— | |
verbose |
bool |
— | |
debug |
bool |
— | |
traceback |
str | None |
— | |
config |
str |
— | |
source |
str |
— |