From 443cd53a1acf33ac0aaa34e0e75760d3da912d18 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 19 Dec 2023 07:09:49 +0000
Subject: [PATCH] fix: mermaid rendering broken after rehype-pretty-code bump (closes #638)

---
 quartz/build.ts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/quartz/build.ts b/quartz/build.ts
index 5752caa..0ebc529 100644
--- a/quartz/build.ts
+++ b/quartz/build.ts
@@ -152,10 +152,10 @@
       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(".", {

--
Gitblit v1.10.0