feat(og): add reading time to default, improve logging
This commit is contained in:
parent
d9159e0ac9
commit
80c3196fee
4 changed files with 29 additions and 6 deletions
|
@ -26,7 +26,7 @@ export async function emitContent(ctx: BuildCtx, content: ProcessedContent[]) {
|
|||
if (ctx.argv.verbose) {
|
||||
console.log(`[emit:${emitter.name}] ${file}`)
|
||||
} else {
|
||||
log.updateText(`Emitting output files: ${chalk.gray(file)}`)
|
||||
log.updateText(`Emitting output files: ${emitter.name} -> ${chalk.gray(file)}`)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -36,7 +36,7 @@ export async function emitContent(ctx: BuildCtx, content: ProcessedContent[]) {
|
|||
if (ctx.argv.verbose) {
|
||||
console.log(`[emit:${emitter.name}] ${file}`)
|
||||
} else {
|
||||
log.updateText(`Emitting output files: ${chalk.gray(file)}`)
|
||||
log.updateText(`Emitting output files: ${emitter.name} -> ${chalk.gray(file)}`)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue