FrankenPHP watch mode doesn't detect file changes with Docker (Ubuntu) #1419
sdkOyh2726
started this conversation in
General
Replies: 1 comment 5 replies
-
Enabling the watcher via the FRANKENPHP_CONFIG environment variable like this currently won't work, you probably need a to use a separate Caddyfile (as described here):
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using FrankenPHP with Docker Compose on native Ubuntu (not Docker Desktop) for a Symfony application. Even though I've enabled "watch" mode, FrankenPHP isn't detecting any PHP file changes, and thus does not automatically reload the application. I must manually restart the container every time.
Configuration:
Dockerfile:
Docker-compose.yml:
OS: Native Ubuntu
Expected behavior:
FrankenPHP should automatically reload when PHP files change, without needing a manual container restart.
Actual behavior:
No reload occurs without manually restarting the container.
Questions:
What's the recommended approach for further diagnosing or permanently resolving this issue?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions