Skip to content

Commit

Permalink
refactor: use console.info
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Dec 22, 2023
1 parent 47bc3a9 commit 8d9e041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`,
)
Expand Down

0 comments on commit 8d9e041

Please sign in to comment.