Jacky Zhao
2023-07-24 55a1fb8c41b6a34cc5cdfc5ec2533ed1f642211d
quartz/build.ts
@@ -91,10 +91,7 @@
        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...`))