also (re)start dependent services after watch rebuilt image
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
23fef850b9
commit
cf89fd1aa1
@ -578,7 +578,7 @@ func (s *composeService) rebuild(ctx context.Context, project *types.Project, se
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
p, err := project.WithSelectedServices(services)
|
p, err := project.WithSelectedServices(services, types.IncludeDependents)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user