From 72216f4276c0a1aaef19aff4ca1174e5dbd083bf Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Fri, 15 May 2026 13:46:18 +0300 Subject: [PATCH] fix: avoid launching unrelated project actions for preview Auto-discovery no longer treats a single Project Action as a dev server Only actions that look like dev, start, preview, or serve commands are used Prevents lint or other unrelated actions from opening preview --- packages/ui/src/lib/detectDevServer.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/ui/src/lib/detectDevServer.ts b/packages/ui/src/lib/detectDevServer.ts index a616c71c..17757e8a 100644 --- a/packages/ui/src/lib/detectDevServer.ts +++ b/packages/ui/src/lib/detectDevServer.ts @@ -110,11 +110,6 @@ function findDevServerAction(actions: OpenChamberProjectAction[]): OpenChamberPr } } - // Fallback: return the first action if there's only one - if (actions.length === 1) { - return actions[0]; - } - return null; }