mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-03 07:18:14 +00:00
format, add upstream
This commit is contained in:
parent
93986c6e7c
commit
2acfb9e870
3 changed files with 36 additions and 30 deletions
quartz
|
@ -91,6 +91,7 @@ async function startServing(ctx: BuildCtx, initialContent: ProcessedContent[]) {
|
|||
clearTimeout(timeoutId)
|
||||
}
|
||||
|
||||
// debounce rebuilds every 250ms
|
||||
timeoutId = setTimeout(async () => {
|
||||
const perf = new PerfTimer()
|
||||
console.log(chalk.yellow("Detected change, rebuilding..."))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue