caddy run --watch

Category: Web Servers & Proxies

caddy run --watch

Run Caddy and auto-reload on config changes

Starts Caddy in the foreground and watches the Caddyfile, reloading automatically whenever the file changes. Great for development, since edits take effect without manual reloads. In production you usually run caddy run without --watch under systemd.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.