Skip to content

[BUG] Docker compose up --watch stopped working #13161

@tamis-laan

Description

@tamis-laan

Description

I upgraded to the latest version of docker compose and now I get the following:

              ⦿ Syncing service "app" after 1 changes were detected
app-1         | INFO:uvicorn.error: Shutting down
app-1         | INFO:uvicorn.error: Waiting for application shutdown.
app-1         | INFO:uvicorn.error: Application shutdown complete.
app-1         | INFO:uvicorn.error: Finished server process [1]
              ⦿ service(s) ["app"] restarted
app-1 exited with code 0

I have sync+restart in my watch configuration for app. On file change the app is properly restarted but the logs and not printed any more. I know this because docker compose logs -f app will show logs properly.

Now this problem has come up in the past and was fixed, but I think someone reverted things or reimplemented the same mistake.

I'm on macos 14.7.6 (23H626) using the following versions through homebrew:

colima 0.8.4
docker 28.3.3
docker-buildx 0.26.1
docker-compose 2.39.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions