We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ad1be9 commit f9dd610Copy full SHA for f9dd610
src/hotReload.ts
@@ -10,7 +10,7 @@ if (module.hot) {
10
script.__hmrId = "${id}"
11
const api = __VUE_HMR_RUNTIME__
12
module.hot.accept()
13
- if (!api.createRecord('${id}')) {
+ if (!api.createRecord('${id}', script)) {
14
api.reload('${id}', script)
15
}
16
${templateRequest ? genTemplateHotReloadCode(id, templateRequest) : ''}
0 commit comments