Skip to content

Commit 0ddb15b

Browse files
fix: run turbopack in forked process (#55545)
Closes WEB-1598
1 parent 7db5c64 commit 0ddb15b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/next/src/cli/next-dev.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ const nextDev: CliCommand = async (args) => {
253253
stdio: 'inherit',
254254
env: {
255255
...((initialEnv || process.env) as typeof process.env),
256+
TURBOPACK: process.env.TURBOPACK,
256257
NEXT_PRIVATE_WORKER: '1',
257258
},
258259
})

0 commit comments

Comments
 (0)