From 0998bc355e6425e6b2bdf3d2da7124aa7b63b2a2 Mon Sep 17 00:00:00 2001 From: Jacky Zhao <j.zhao2k19@gmail.com> Date: Thu, 17 Aug 2023 08:58:11 +0000 Subject: [PATCH] fix rebuild debouncing --- content/build.md | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/content/build.md b/content/build.md index 2857057..1447687 100644 --- a/content/build.md +++ b/content/build.md @@ -1,3 +1,23 @@ --- title: "Building your Quartz" --- + +Once you've [[index#🪴 Get Started|initialized]] Quartz, let's see what it looks like locally: + +```bash +npx quartz build --serve +``` + +This will start a local web server to run your Quartz on your computer. Open a web browser and visit `http://localhost:8080/` to view it. + +> [!hint] Flags and options +> For full help options, you can run `npx quartz build --help`. +> +> Most of these have sensible defaults but you can override them if you have a custom setup: +> +> - `-d` or `--directory`: the content folder. This is normally just `content` +> - `-v` or `--verbose`: print out extra logging information +> - `-o` or `--output`: the output folder. This is normally just `public` +> - `--serve`: run a local hot-reloading server to preview your Quartz +> - `--port`: what port to run the local preview server on +> - `--concurrency`: how many threads to use to parse notes -- Gitblit v1.10.0