What I did
Share the doneCh channel of the up command to watch process so it could be stop when the up command is stopped by an external down command.
I moved the existing content of the func (s *composeService) Watch function to an internal watch function. This avoids changing the Watch API and eliminates the need to add the channel as a new parameter to the API.
What I did Share the
doneCh
channel of theup
command towatch
process so it could be stop when theup
command is stopped by an externaldown
command.I moved the existing content of the
func (s *composeService) Watch
function to an internalwatch
function. This avoids changing theWatch
API and eliminates the need to add the channel as a new parameter to the API.Related issue https://docker.atlassian.net/browse/COMP-621
(not mandatory) A picture of a cute animal, if possible in relation to what you did![image](https://github.com/docker/compose/assets/705411/daab6a4a-f997-46ba-bb8d-aeb25e00b223)