From 8f9aa3e8c5b587fc8a4d1b6898acf0955b520baa Mon Sep 17 00:00:00 2001 From: Benjamin Jesuiter Date: Sun, 11 Jan 2026 00:49:48 +0100 Subject: [PATCH] fix(progress): start spinner immediately when delayMs is 0 --- src/cli/progress.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cli/progress.ts b/src/cli/progress.ts index 871ae0992..a55604966 100644 --- a/src/cli/progress.ts +++ b/src/cli/progress.ts @@ -90,7 +90,11 @@ export function createCliProgress(options: ProgressOptions): ProgressReporter { applyState(); }; - timer = setTimeout(start, delayMs); + if (delayMs === 0) { + start(); + } else { + timer = setTimeout(start, delayMs); + } const setLabel = (next: string) => { label = next;