From 8d9e04101cdd3df08f5d0ddfbdd8abbb7f246577 Mon Sep 17 00:00:00 2001 From: bluwy Date: Fri, 22 Dec 2023 16:55:28 +0800 Subject: [PATCH] refactor: use console.info --- packages/vite/src/client/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/src/client/client.ts b/packages/vite/src/client/client.ts index 85fc2012516bb3..0d3f032dfea0fc 100644 --- a/packages/vite/src/client/client.ts +++ b/packages/vite/src/client/client.ts @@ -151,7 +151,7 @@ const hmrClient = new HMRClient(console, async function importUpdatedModule({ ) if (isWithinCircularImport) { importPromise.catch(() => { - console.debug( + console.info( `[hmr] ${acceptedPath} failed to apply HMR as it's within a circular import. Reloading page to reset the execution order. ` + `To debug and break the circular import, you can run \`vite --debug hmr\` to log the circular dependency path if a file change triggered it.`, )