We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
spawn
1 parent 0a9cead commit 455b64eCopy full SHA for 455b64e
packages/vite-plugin-checker/src/main.ts
@@ -244,7 +244,10 @@ function spawnChecker(
244
const finalBin: BuildCheckBinStr =
245
typeof buildBin === 'function' ? buildBin(userConfig) : buildBin
246
247
- const proc = spawn(...finalBin, {
+ const [command, args] = finalBin
248
+ const commandWithArgs = [command, ...args].join(' ')
249
+
250
+ const proc = spawn(commandWithArgs, {
251
cwd: process.cwd(),
252
stdio: 'inherit',
253
env: localEnv,
0 commit comments