We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d8303 commit bcd169bCopy full SHA for bcd169b
cli/rescript-legacy/bsb.js
@@ -7,6 +7,7 @@ import * as os from "node:os";
7
import * as path from "node:path";
8
9
import { rescript_legacy_exe } from "../common/bins.js";
10
+import { runtimePath } from "../common/runtime.js";
11
import { WebSocket } from "./minisocket.js";
12
13
const cwd = process.cwd();
@@ -49,6 +50,11 @@ function acquireBuild(args, options) {
49
50
if (ownerProcess) {
51
return null;
52
}
53
+
54
+ if (!args.includes("-runtime-path")) {
55
+ args.push("-runtime-path", runtimePath);
56
+ }
57
58
try {
59
ownerProcess = child_process.spawn(rescript_legacy_exe, args, {
60
stdio: "inherit",
0 commit comments