From 9576701d8532b9697df62c96d7c8676afd985b2d Mon Sep 17 00:00:00 2001
From: Andrew G. Dunn <andrew@dunn.dev>
Date: Mon, 02 Mar 2026 16:31:53 +0000
Subject: [PATCH] fix: await micromorph() to prevent race condition with nav event handlers (#2323)
---
quartz/build.ts | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/quartz/build.ts b/quartz/build.ts
index f3adfe2..b98f4a8 100644
--- a/quartz/build.ts
+++ b/quartz/build.ts
@@ -143,6 +143,7 @@
}
const watcher = chokidar.watch(".", {
+ awaitWriteFinish: { stabilityThreshold: 250 },
persistent: true,
cwd: argv.directory,
ignoreInitial: true,
--
Gitblit v1.10.0