Skip to content

Commit

Permalink
fix: fix vue style hmr
Browse files Browse the repository at this point in the history
fix #37
  • Loading branch information
yyx990803 committed May 3, 2020
1 parent bf1abbf commit d0b896f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/serverPluginHmr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export const hmrPlugin: Plugin = ({ root, app, server, watcher, resolver }) => {
nextStyles.forEach((_, i) => {
if (!prevStyles[i] || !isEqual(prevStyles[i], nextStyles[i])) {
send({
type: 'style-update',
type: 'vue-style-update',
path: publicPath,
index: i,
id: `${styleId}-${i}`,
Expand Down

0 comments on commit d0b896f

Please sign in to comment.