From 425c9789a451e69adbba2d99193e38e8915e8804 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Sun, 20 Aug 2023 16:59:25 -0700 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 insertion(+), 1 deletion(-) 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 @@ Then, in your terminal of choice, enter the following commands line by line: ```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 @@ See the [documentation](https://quartz.jzhao.xyz) for how to get started. const rebuild = (clientRefresh) => { timeoutIds.forEach((id) => clearTimeout(id)) + timeoutIds.clear() timeoutIds.add(setTimeout(() => build(clientRefresh), 250)) }