Skip to content

Commit 14c7e8e

Browse files
marvinsideAkryum
authored andcommitted
fix: CSS HMR still triggering a full reload (#347)
* Fixed CSS HMR still triggering full page reload Setting _suppressNextReload to true if a css change is pushed via HMR * Fixed indention
1 parent 7e2d1ef commit 14c7e8e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/vue-component-dev-client/client/dev-client.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ Meteor.startup(function () {
199199
_styleNodes[hash] = style
200200
}
201201
style.textContent = css
202+
203+
_suppressNextReload = true
202204
})
203205

204206
// Locale

0 commit comments

Comments
 (0)