Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions pkg/compose/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,9 @@ func (s *composeService) Up(ctx context.Context, project *types.Project, options
var isTerminated atomic.Bool
printer := newLogPrinter(options.Start.Attach)

var watcher *Watcher
if options.Start.Watch {
watcher, err = NewWatcher(project, options, s.watch)
if err != nil {
return err
}
watcher, err := NewWatcher(project, options, s.watch)
if err != nil && options.Start.Watch {
return err
}

var navigationMenu *formatter.LogKeyboard
Expand Down