spawn in shell in local scripts

This commit is contained in:
Joseph Garrone
2024-06-15 01:06:06 +02:00
parent b52dc74d9b
commit 0620d29880
3 changed files with 15 additions and 9 deletions

View File

@ -13,7 +13,7 @@ export function startRebuildOnSrcChange() {
const dCompleted = new Deferred<void>();
const child = child_process.spawn("yarn", ["build"]);
const child = child_process.spawn("yarn", ["build"], { shell: true });
child.stdout.on("data", data => process.stdout.write(data));