New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] x-develop watch not working #10705
Comments
If I change the path to
|
Which file do you edit, and don't see I wonder there could be some side effect as your volume source |
@ndeloof in this case I could edit my nginx.conf or dockerfile which should both trigger a rebuild but don't. The complete compose file has serviced for backend and frontend as well. In this case the services have build context |
The weird part here is you get Could you confirm this by (temporary) setting |
@ndeloof |
Can you please attach output for |
@ndeloof - content redacted for privacy reasons. Paths kept intact. As far as I can assess it looks correct. The paths all lead to the correct directories intended for watching. Sadly doesnt work
|
@ndeloof any news? I couldn't get it working still. |
I have no idea what's going on here, I've asked teammates to have a look |
I have the same problem.
I tried setting some x-develop: (so it no longer watches anything), and the output is always the same! It looks like something is stuck in the background |
Hey there 👋 |
Great news 👍 , I close the issue |
@glours @ndeloof FYI Apparently switching to a different git branch fixed the issue o_O ?! It seems there is some caching going on that can get "stuck" and persists even across restarts of docker engine & the host machine & subsequent rebuilds. |
Description
The x-develop / watch configuration in my compose file does not work at all when run with
docker compose up --wait -d && docker compose alpha watch
.I get this output, after that - infinite silence
Compose.yml
Inside my infra/nginx directory I have my nginx.conf and the following Dockerfile (Dockerfile.dev)
Steps To Reproduce
Copy compose.yml from above
setup ./infra/nginx with any nginx.conf and the Dockerfile
Run docker compose up --wait -d && docker compose alpha watch
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: