We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b733b91 commit cd11490Copy full SHA for cd11490
packages/plugin-vue/src/handleHotUpdate.ts
@@ -156,7 +156,7 @@ export async function handleHotUpdate(
156
if (didUpdateStyle) {
157
updateType.push(`style`)
158
}
159
- if (updateType.length) {
+ if (updateType.length || scriptChanged) {
160
if (file.endsWith('.vue')) {
161
// invalidate the descriptor cache so that the next transform will
162
// re-analyze the file and pick up the changes.
0 commit comments