Make ensureWorkerRunning async with health checks
Co-authored-by: thedotmack <683968+thedotmack@users.noreply.github.com>
This commit is contained in:
@@ -28,7 +28,7 @@ async function newHook(input?: UserPromptSubmitInput): Promise<void> {
|
||||
const project = path.basename(cwd);
|
||||
|
||||
// Ensure worker is running
|
||||
ensureWorkerRunning();
|
||||
await ensureWorkerRunning();
|
||||
|
||||
const db = new SessionStore();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user