From 89b6140166fddc2739a9bba0808262ffc1a74505 Mon Sep 17 00:00:00 2001 From: Timothy Rule <34501912+trulede@users.noreply.github.com> Date: Fri, 12 Dec 2025 21:09:35 +0100 Subject: [PATCH] fix: always run a watch task regardless of run setting (#2566) --- task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task.go b/task.go index 603d4e90..71f5e6f5 100644 --- a/task.go +++ b/task.go @@ -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) }