diff --git a/scripts/run-parallel.mjs b/scripts/run-parallel.mjs new file mode 100644 index 000000000..8ae12a642 --- /dev/null +++ b/scripts/run-parallel.mjs @@ -0,0 +1,10 @@ +import { spawn } from "node:child_process" + +const scripts = process.argv.slice(2) +if (scripts.length === 0) { + process.exit(0) +} + +for (const script of scripts) { + spawn(process.execPath, [script], { stdio: "inherit", shell: false }) +}