From 107d9b8dff59de34a2ebef4b7be942b12f435e3a Mon Sep 17 00:00:00 2001
From: sean <146651411+tuta-amb@users.noreply.github.com>
Date: Tue, 16 Jan 2024 16:18:55 +0000
Subject: [PATCH] fix: external link icon shouldn't be vertical aligned (#699)

---
 quartz/build.ts |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/quartz/build.ts b/quartz/build.ts
index 5752caa..24f0498 100644
--- a/quartz/build.ts
+++ b/quartz/build.ts
@@ -148,14 +148,17 @@
       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()
     clientRefresh()
     toRebuild.clear()
     toRemove.clear()
-    release()
   }
 
   const watcher = chokidar.watch(".", {

--
Gitblit v1.10.0