From 78b33fc2fb2d2b30e0cdf6fbd50c74efceac1c56 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 5752caa46..0ebc52928 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(".", {