Skip to content

3.0.0-beta.16 热更新失效 #1559

Closed
Closed
@bigbanana

Description

@bigbanana

Version

3.0.0-beta.15

Reproduction link

https://github.com/vuejs/vue-cli

Steps to reproduce

vue create test
cd test
rm -rf node_modules
npm install
npm run serve

What is expected?

HMR热更新失效

What is actually happening?

HMR socket连接没有问题,但是webpackHotUpdate事件无法触发,导致热更新失效,检查app.js发现 webpack/hot/emitter.js被webpack打包了两个,出现两个不同实例。


大致确定目标是@vue/cli-service@3.0.0-beta.16导致的,回退版本beta.10后暂时解决。由于时间急,没有继续追踪。

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproductionThis issue is missing a minimal runnable reproduction, provided by the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions