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)) }