chore: make use of raw running when dev script is used with newer node #2748
@ -50,7 +50,11 @@ function run(changedFile) {
|
||||
buildproc = undefined;
|
||||
if (code === 0) {
|
||||
console.log(`${cangoraw ? "Verified" : "Built"} in ${Date.now() - thisbuildstart} ms`);
|
||||
runproc = spawn("npm", ["run", cangoraw ? (process.versions.bun ? "raw:bun" : "raw") : "start", "--", ...args], spawnopts);
|
||||
runproc = spawn(
|
||||
"npm",
|
||||
["run", cangoraw ? (process.versions.bun ? "raw:bun" : "raw") : "start", "--", ...args],
|
||||
spawnopts
|
||||
);
|
||||
runproc.on("exit", () => {
|
||||
runproc = undefined;
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user