Skip to content

Commit

Permalink
watch should ony build selected services
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof authored and glours committed Jan 30, 2025
1 parent 8402888 commit 1c073c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/compose/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func watchCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service)
}

func runWatch(ctx context.Context, dockerCli command.Cli, backend api.Service, watchOpts watchOptions, buildOpts buildOptions, services []string) error {
project, _, err := watchOpts.ToProject(ctx, dockerCli, nil)
project, _, err := watchOpts.ToProject(ctx, dockerCli, services)
if err != nil {
return err
}
Expand Down

0 comments on commit 1c073c0

Please sign in to comment.