Functions
clean
🧹 Clean generated files and stale processes.
By default, removes only the output directory (public…
clean
def clean(force: bool, cache: bool, clean_all: bool, stale_server: bool, config: str, source: str) -> None
🧹 Clean generated files and stale processes.
By default, removes only the output directory (public/).
Options:
--cache Also remove build cache --all Remove both output and cache --stale-server Clean up stale 'bengal serve' processes
Parameters 6
| Name | Type | Default | Description |
|---|---|---|---|
force |
bool |
— | |
cache |
bool |
— | |
clean_all |
bool |
— | |
stale_server |
bool |
— | |
config |
str |
— | |
source |
str |
— |
cleanup
Clean up stale Bengal server processes.
cleanup
def cleanup(force: bool, port: int, source: str) -> None
Clean up stale Bengal server processes.
Parameters 3
| Name | Type | Default | Description |
|---|---|---|---|
force |
bool |
— | |
port |
int |
— | |
source |
str |
— |