diff --git a/quartz/build.ts b/quartz/build.ts index 0ebc529..24f0498 100644 --- a/quartz/build.ts +++ b/quartz/build.ts @@ -148,8 +148,11 @@ async function startServing( await rimraf(argv.output) await emitContent(ctx, filteredContent) console.log(chalk.green(`Done rebuilding in ${perf.timeSince()}`)) - } catch { + } catch (err) { console.log(chalk.yellow(`Rebuild failed. Waiting on a change to fix the error...`)) + if (argv.verbose) { + console.log(chalk.red(err)) + } } release()