From 1d5d088c8698186d5d34eb4941c00c6b97f6a8ae 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 2e643f22..ab2e4f76 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 f7f55042..9bda25f9 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)) }