Skip to content

Commit

Permalink
fix: increase pause on windows platform after clean
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyben committed Oct 13, 2019
1 parent b3d550d commit 150813b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clean-addon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function cleanTargets(

// Pause on windows to try to work around eventual lingering file handles
if (process.platform === 'win32') {
const until = Date.now() + 250
const until = Date.now() + 500
while (Date.now() < until) {}
}
}
Expand Down

0 comments on commit 150813b

Please sign in to comment.