Files imported from Caddyfile are not watched?

Caddyfile and imported files

Caddy observes Caddyfile and reloads configuration when sees changes to that file. But the issue is that it does not watch files included in Caddyfile via import directive. Is it possible to ask caddy for watching these files or it’s simply a bug?

See Watch directory · Issue #3517 · caddyserver/caddy · GitHub and This should work in v2.7.0. It’s a lot more complicated than it seems.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.