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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user