Command
clean
🧹 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
Usage
Bash
bengal.site.clean [OPTIONS]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
source |
path |
No |
Examples
Bash
bengal clean # Clean output only
bengal clean --cache # Clean output and cache
bengal clean --stale-server # Clean up stale server processes