komplian 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/komplian-localhost.mjs +6 -2
- package/package.json +1 -1
package/komplian-localhost.mjs
CHANGED
|
@@ -428,13 +428,17 @@ export async function runLocalhost(argv) {
|
|
|
428
428
|
log(`${c.dim}Ctrl+C detiene todos.${c.reset}`);
|
|
429
429
|
log("");
|
|
430
430
|
|
|
431
|
+
// shell: false — con shell:true Node concatena args para /bin/sh -c y concurrently
|
|
432
|
+
// recibe un número de comandos/names incoherente → TypeError en logger (prev.replace).
|
|
433
|
+
const npx = process.platform === "win32" ? "npx.cmd" : "npx";
|
|
431
434
|
const child = spawn(
|
|
432
|
-
|
|
435
|
+
npx,
|
|
433
436
|
["--yes", "concurrently@9", "-c", colors, "-n", names, ...scripts],
|
|
434
437
|
{
|
|
435
438
|
cwd: workspaceRoot,
|
|
436
439
|
stdio: "inherit",
|
|
437
|
-
shell:
|
|
440
|
+
shell: false,
|
|
441
|
+
windowsHide: true,
|
|
438
442
|
env: { ...process.env },
|
|
439
443
|
}
|
|
440
444
|
);
|