mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-08 17:55:08 +00:00
fix watch-mode batching
This commit is contained in:
parent
569ff1a801
commit
041a4ce7bc
14 changed files with 91 additions and 77 deletions
quartz/processors
|
@ -24,7 +24,7 @@ export async function emitContent(ctx: BuildCtx, content: ProcessedContent[]) {
|
|||
}
|
||||
|
||||
let emittedFiles = 0
|
||||
const staticResources = getStaticResourcesFromPlugins(cfg.plugins)
|
||||
const staticResources = getStaticResourcesFromPlugins(ctx)
|
||||
for (const emitter of cfg.plugins.emitters) {
|
||||
try {
|
||||
const emitted = await emitter.emit(ctx, content, staticResources, emit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue