From 425c9789a451e69adbba2d99193e38e8915e8804 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 20 Aug 2023 23:59:25 +0000
Subject: [PATCH] remove checkout step from instructions as v4 is the default branch

---
 content/index.md         |    1 -
 quartz/bootstrap-cli.mjs |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/content/index.md b/content/index.md
index 2e643f2..ab2e4f7 100644
--- a/content/index.md
+++ b/content/index.md
@@ -13,7 +13,6 @@
 ```shell
 git clone https://github.com/jackyzha0/quartz.git
 cd quartz
-git checkout v4
 npm i
 npx quartz create
 ```
diff --git a/quartz/bootstrap-cli.mjs b/quartz/bootstrap-cli.mjs
index f7f5504..9bda25f 100755
--- a/quartz/bootstrap-cli.mjs
+++ b/quartz/bootstrap-cli.mjs
@@ -423,6 +423,7 @@
 
     const rebuild = (clientRefresh) => {
       timeoutIds.forEach((id) => clearTimeout(id))
+      timeoutIds.clear()
       timeoutIds.add(setTimeout(() => build(clientRefresh), 250))
     }
 

--
Gitblit v1.10.0