Skip to content

Commit

Permalink
fix: run turbopack in forked process (#55545)
Browse files Browse the repository at this point in the history
Closes WEB-1598
  • Loading branch information
ForsakenHarmony authored Sep 18, 2023
1 parent 7db5c64 commit 0ddb15b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/src/cli/next-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ const nextDev: CliCommand = async (args) => {
stdio: 'inherit',
env: {
...((initialEnv || process.env) as typeof process.env),
TURBOPACK: process.env.TURBOPACK,
NEXT_PRIVATE_WORKER: '1',
},
})
Expand Down

0 comments on commit 0ddb15b

Please sign in to comment.