log configuration error as a watch log event by ndeloof · Pull Request #12359 · docker/compose (original) (raw)
What I did
As watch is enabled hitting w
key from interactive menu, user don't get warned about configuration error and watch not being actually enabled
this PR adds error being logged as a watch log event
$ avatars docker compose up
[+] Running 2/2
✔ Container avatars-api-1 Created 0.2s
✔ Container avatars-web-1 Created 0.2s
Attaching to api-1, web-1
api-1 | * Serving Flask app './api/app.py' (lazy loading)
api-1 | * Environment: development
api-1 | * Debug mode: on
web-1 | yarn run v1.22.22
web-1 | $ vite
api-1 | * Debugger is active!
⦿ can't watch service "web" with action rebuild without a build context
Related issue
(not mandatory) A picture of a cute animal, if possible in relation to what you did