Skip to content

Commit

Permalink
chore: remove unncessary log
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Nov 26, 2021
1 parent 5a13fa2 commit b391b04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hotReload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ if (module.hot) {
const api = __VUE_HMR_RUNTIME__
module.hot.accept()
if (!api.createRecord('${id}', __exports__)) {
console.log('reload')
api.reload('${id}', __exports__)
}
${templateRequest ? genTemplateHotReloadCode(id, templateRequest) : ''}
Expand All @@ -22,7 +21,6 @@ if (module.hot) {
function genTemplateHotReloadCode(id: string, request: string) {
return `
module.hot.accept(${request}, () => {
console.log('re-render')
api.rerender('${id}', render)
})
`
Expand Down

0 comments on commit b391b04

Please sign in to comment.