also (re)start dependent services after watch rebuilt image

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2025-05-27 15:51:38 +02:00 committed by Guillaume Lours
parent 23fef850b9
commit cf89fd1aa1

View File

@ -578,7 +578,7 @@ func (s *composeService) rebuild(ctx context.Context, project *types.Project, se
return err
}
p, err := project.WithSelectedServices(services)
p, err := project.WithSelectedServices(services, types.IncludeDependents)
if err != nil {
return err
}