This commit is contained in:
Jacky Zhao 2023-07-23 17:09:12 -07:00
parent 9e83af04a7
commit 55a1fb8c41
6 changed files with 9 additions and 25 deletions
quartz

View file

@ -91,10 +91,7 @@ async function startServing(ctx: BuildCtx, initialContent: ProcessedContent[]) {
await rimraf(argv.output)
const parsedFiles = [...contentMap.values()]
const filteredContent = filterContent(ctx, parsedFiles)
await emitContent(
ctx,
filteredContent,
)
await emitContent(ctx, filteredContent)
console.log(chalk.green(`Done rebuilding in ${perf.timeSince()}`))
} catch {
console.log(chalk.yellow(`Rebuild failed. Waiting on a change to fix the error...`))