From 5208a96a3768e92d203e3d2c6fd3a79e21be64be Mon Sep 17 00:00:00 2001
From: Jon Erling Hustadnes <jonerling.hustadnes@proton.me>
Date: Mon, 05 Jan 2026 11:34:45 +0000
Subject: [PATCH] fix(build.ts/startWatching): add option `awaitWriteFinish` with 250ms threshold (#2235)

---
 quartz/cli/helpers.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/quartz/cli/helpers.js b/quartz/cli/helpers.js
index 1bc58ad..46b5018 100644
--- a/quartz/cli/helpers.js
+++ b/quartz/cli/helpers.js
@@ -7,8 +7,8 @@
 export function escapePath(fp) {
   return fp
     .replace(/\\ /g, " ") // unescape spaces
-    .replace(/^".*"$/, "$1")
-    .replace(/^'.*"$/, "$1")
+    .replace(/^"(.*)"$/, "$1")
+    .replace(/^'(.*)'$/, "$1")
     .trim()
 }
 

--
Gitblit v1.10.0