mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-03 15:28:14 +00:00
format
This commit is contained in:
parent
9e83af04a7
commit
55a1fb8c41
6 changed files with 9 additions and 25 deletions
quartz
|
@ -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...`))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue