Skip to content

Commit

Permalink
fix: worker restart
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNoim committed Mar 1, 2023
1 parent abd3971 commit 8ca9102
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions reactive_home/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ for await (const path of walk(flags.root)) {
`Terminate worker ${path.path} because of an error. Restart in 5s.`,
error.error
);
try {
worker.terminate();
} catch (e) {
console.error(e);
}

setTimeout(() => {
console.log(`Will now restart ${path.path}`);
resolve(null);
Expand Down

0 comments on commit 8ca9102

Please sign in to comment.