fix: always run a watch task regardless of run setting (#2566)

This commit is contained in:
Timothy Rule
2025-12-12 21:09:35 +01:00
committed by GitHub
parent 8cd51af3b0
commit 89b6140166

View File

@@ -370,7 +370,7 @@ func (e *Executor) startExecution(ctx context.Context, t *ast.Task, execute func
return err
}
if h == "" {
if h == "" || t.Watch {
return execute(ctx)
}