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 c843ad2 commit 39b7ed2Copy full SHA for 39b7ed2
server/src/bsc-args/rewatch.ts
@@ -131,7 +131,12 @@ export async function getRewatchBscArgs(
131
132
let rescriptRuntime: string | null = await getRuntimePath(entry);
133
134
- if (rescriptRuntime !== null) {
+ if (
135
+ rescriptRuntime !== null &&
136
+ semver.satisfies(project.rescriptVersion, ">=12.0.0-beta.11", {
137
+ includePrerelease: true,
138
+ })
139
+ ) {
140
(env as any)["RESCRIPT_RUNTIME"] = rescriptRuntime;
141
} else {
142
// TODO: if no runtime was found, we should let the user know
0 commit comments