From 5c13bb52f710ab8c344d892c2420854cd677a6c4 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Sun, 17 Dec 2023 16:46:17 -0800 Subject: [PATCH] fix: release build lock before client refresh --- quartz/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/build.ts b/quartz/build.ts index 5752caa4..0ebc5292 100644 --- a/quartz/build.ts +++ b/quartz/build.ts @@ -152,10 +152,10 @@ async function startServing( console.log(chalk.yellow(`Rebuild failed. Waiting on a change to fix the error...`)) } + release() clientRefresh() toRebuild.clear() toRemove.clear() - release() } const watcher = chokidar.watch(".", {