From cd5adf3011d677263c93ce6f8066aaa7870b1dfc Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Mon, 15 Apr 2024 18:56:54 +0800 Subject: [PATCH] feat: config file hot update error prints error message (#3592) --- src/node/plugin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/plugin.ts b/src/node/plugin.ts index a386fe2cf53c..10bc5926580f 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -384,6 +384,7 @@ export async function createVitePressPlugin( try { await resolveUserConfig(siteConfig.root, 'serve', 'development') } catch (err: any) { + siteConfig.logger.error(err) return }