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
This commit is contained in:
Bohdan Triapitsyn
2026-05-15 13:46:18 +03:00
parent 3e53d7e071
commit 72216f4276
-5
View File
@@ -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;
}