Open torarnv opened 1 day ago
I tried to reproduce without success.
I'm using:
services:
app1:
build:
dockerfile_inline: FROM nginx
develop:
watch:
- action: sync+restart
path: .
target: /tmp
Can you please give it a try?
Description
Similar to https://github.com/docker/compose/issues/11773 I'm seeing
docker compose up --watch
disconnecting when the container is restarted:Likely because it temporarily sees that there are no services running.
Adding a keep-alive workaround service "fixes" the issue:
Compose Version
2.30.3