Skip to content

Commit

Permalink
Remove extraneous require cache set
Browse files Browse the repository at this point in the history
  • Loading branch information
airhorns committed Oct 9, 2024
1 parent 34a8ca9 commit 1df66aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hooks/child-process-cjs-hook.cts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ if (!workerData || !(workerData as SyncWorkerData).isWDSSyncWorker) {
};
}

require.cache ??= {};

// monitor the parent process' health, if it dies, kill ourselves so we don't end up a zombie
const monitor = setInterval(() => {
try {
Expand Down

0 comments on commit 1df66aa

Please sign in to comment.