From 0998bc355e6425e6b2bdf3d2da7124aa7b63b2a2 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 17 Aug 2023 08:58:11 +0000
Subject: [PATCH] fix rebuild debouncing

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

diff --git a/quartz/worker.ts b/quartz/worker.ts
index d97c483..3bd7ea7 100644
--- a/quartz/worker.ts
+++ b/quartz/worker.ts
@@ -1,7 +1,10 @@
+import sourceMapSupport from "source-map-support"
+sourceMapSupport.install(options)
 import cfg from "../quartz.config"
-import { Argv, BuildCtx } from "./ctx"
-import { FilePath, ServerSlug } from "./path"
+import { Argv, BuildCtx } from "./util/ctx"
+import { FilePath, ServerSlug } from "./util/path"
 import { createFileParser, createProcessor } from "./processors/parse"
+import { options } from "./util/sourcemap"
 
 // only called from worker thread
 export async function parseFiles(argv: Argv, fps: FilePath[], allSlugs: ServerSlug[]) {

--
Gitblit v1.10.0