Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 06ddf90

Browse files
author
Je
committed
refactor: catch compile error when file changed
1 parent 451ef8b commit 06ddf90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

project.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,8 @@ export default class Project {
555555
this._clearPageRenderCache(mod.id)
556556
}
557557
})
558+
}).catch(err => {
559+
log.error("compile", './' + path, err.message)
558560
})
559561
} else if (this.#modules.has(moduleId)) {
560562
this.#modules.delete(moduleId)

0 commit comments

Comments
 (0)