Skip to content

Commit

Permalink
fix: optimizeSafeRealPath should be run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Dec 2, 2023
1 parent 664284b commit d3c8f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ let firstSafeRealPathRun = false

async function windowsSafeRealPath(path: string): Promise<string> {
if (!firstSafeRealPathRun) {
await optimizeSafeRealPath()
optimizeSafeRealPath()
firstSafeRealPathRun = true
}
return fs.realpathSync(path)
Expand Down

0 comments on commit d3c8f90

Please sign in to comment.