Skip to content

Commit

Permalink
fix: worker
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesb committed Feb 25, 2024
1 parent 2fd6cdb commit 7ec40dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/server/src/tasks/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,9 @@ export async function startWorker() {
}
});
}

if (require.main === module) {
(async () => {
await startWorker();
})();
}

0 comments on commit 7ec40dc

Please sign in to comment.