-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hot Reload Not Working #3173
Comments
vue-cli 是通过 npm 安装。 没安装cnpm模块 |
Caused by webpack-dev-server 3.1.11. Workaround 1: // vue.config.js
module.exports = {
devServer: {
disableHostCheck: true
}
} Workaround 2: If you are using yarn, you can lock its version by adding the following
|
是的 我测试了下老的项目 webpack-dev-server 3.0.rc.12 发现热更新 生效的 这是我再开发新项目 重新生成模板的时候遇到的。 |
// vue.config.js |
Should have been fixed with the latest release of webpack-dev-server v3.1.14 Please run |
Still having to downgrade to 3.1.10 even after clean install of everything and wiped cache. |
True, v3.1.14 is still no working at all. |
[email protected], 热更新动作会发生,但没有实质效果,一个更改在后续更改触发的热更新里才能起效果。 |
Hello, how do you solve the problem? I put
in package.json file and follow this doc run
But i still get 3.1.14 version.
|
|
I just ran Everything is working as expected now. |
I update @vue/cli to version 3.4.1 still not work.
|
hot reload not working in keep-alive
Workaround 1 is working. |
I am not using
still not work for me.
Also not work. Crazy... |
my success case: |
devServer: { |
现在好像不需要了,我的是关闭的也可以热更新 |
Doesn't seem to be related directly to Vue? |
Version
3.2.1
Reproduction link
https://github.com/chenweibo/vueCliDemo
Environment info
Steps to reproduce
使用npm 安装的vue-cli 正常选择默认模板生成 然后 启动服务 热更新已经默认不生生效了 重现的模板在github 地址
What is expected?
希望正常能热更新 安装过很多版本的node.js 版本 都是不行 包括文档推荐的node.js 版本
What is actually happening?
不能热更新
WAIT Compiling...6:11:27 PM
10% building 0/1 modules 1 active ...dex.js??ref--13-0!/web/demo/src/App.vue DONE Compiled successfully in 408ms6:11:28PM
WARN
Couldn't parse bundle asset "/web/demo/dist/app.9f3062b5c30ee5b7e896.hot-update.js".
Analyzer will use module sizes from stats file.
App running at:
控制台没报错。 但是VUE UI 这个报错。 直接提示这个热更新问题不行
The text was updated successfully, but these errors were encountered: