Skip to content

Commit

Permalink
feat(client): use debug channel on hot updates (#8855)
Browse files Browse the repository at this point in the history
  • Loading branch information
innocenzi authored Aug 26, 2022
1 parent 5df788d commit 0452224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ async function handleMessage(payload: HMRPayload) {
outdatedLinkTags.add(el)
el.after(newLinkTag)
}
console.log(`[vite] css hot updated: ${searchUrl}`)
console.debug(`[vite] css hot updated: ${searchUrl}`)
}
})
break
Expand Down Expand Up @@ -445,7 +445,7 @@ async function fetchUpdate({ path, acceptedPath, timestamp }: Update) {
fn(deps.map((dep) => moduleMap.get(dep)))
}
const loggedPath = isSelfUpdate ? path : `${acceptedPath} via ${path}`
console.log(`[vite] hot updated: ${loggedPath}`)
console.debug(`[vite] hot updated: ${loggedPath}`)
}
}

Expand Down

0 comments on commit 0452224

Please sign in to comment.