komplian 0.7.4 → 0.7.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
|
@@ -576,8 +576,12 @@ export async function runLocalhost(argv) {
|
|
|
576
576
|
|
|
577
577
|
const npx = process.platform === "win32" ? "npx.cmd" : "npx";
|
|
578
578
|
const useShell = process.platform === "win32";
|
|
579
|
-
/**
|
|
580
|
-
|
|
579
|
+
/**
|
|
580
|
+
* --raw avoids concurrently prefix logger bugs: TypeError prev.replace is not a function
|
|
581
|
+
* in Logger.getPrefixContent (Windows + npx.cmd/shell, and some npx arg splits).
|
|
582
|
+
*/
|
|
583
|
+
const useRaw = cliQuiet() || process.platform === "win32";
|
|
584
|
+
const concArgs = useRaw
|
|
581
585
|
? ["--yes", "concurrently@9", "--raw", ...scripts]
|
|
582
586
|
: ["--yes", "concurrently@9", "-c", colors, "-n", names, ...scripts];
|
|
583
587
|
const child = spawn(
|