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
VUE 更新至最新版本(3.4.1),使用VUEcli创建的项目,无法热更新! #3480
Comments
请提供复现代码。我本地无法重现你说的问题。 |
Try to do it with yarn. For me it was
cancel the process
|
根据楼上的方法 我在style scoped中修改 css 热更新 是好用的, 在man.js 中的less文件 只有启动后的第一次修改会被热更新 |
@yuyixxy 因为 webpack 4.29+ 有一个比较严重的 bug webpack/webpack#8656 |
+1,我也遇到这个问题了,修改css热更新失效 |
请遇到这个问题的各位提供一下复现代码……不然我们无法定位问题。 |
@sodatea 就是cli自己生成的初始代码,改样式或者改html热更新也没有效果。自定义配置: babel + router + vuex + eslint + prettier + stylus |
在本地开发环境,单文件组件中,style标签下,写less,热更新在配置vue.config.js之后是有效的。 已经解决了,本地开了代理的原因。和框架本身无关。 |
遇到了这个问题,感谢提供参考帮助。 |
Hello! We get a lot of issues, so we currently close issues requiring feedback after 20 days of inactivity. It’s been at least 10 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. (A maintainer can also add the label Thanks for being a part of the Vue community! 💪💚️ |
我下载最新的code也遇到了这个问题,我用的Ubuntu18 系统,我出现这种情况是因为用vscode 开发,排查各种情况之后无意间发现vscode出现一个提示。 上述内容的大意是指,目前文件监控的实际数目已超出当前设置值,因此无法通知热更新。 1. 检查现有文件监控数目
2. 修改文件监控数目综合考虑实际需监控文件的数目和内存消耗情况,我将新的文件监控数目设置为:81920,即原来监控数目的10倍 3. 让配置文件中的新文件监控数目生效
4. reopen VSCode |
Hello! We get a lot of issues, so we currently close issues requiring feedback after 20 days of inactivity. It’s been at least 10 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. (A maintainer can also add the label Thanks for being a part of the Vue community! 💪💚️ |
Hey again! 😸️ It’s been 20 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Vue community! 💚️ |
Version
3.4.1
Environment info
Steps to reproduce
之前创建的项目都可以热更新,但是升级版本之后,不能热更新,只能通过点击浏览器刷新达到更新的目的!
What is expected?
如何解决热更新问题
What is actually happening?
如何解决热更新问题
之前创建的项目都可以热更新,但是升级版本之后,不能热更新,只能通过点击浏览器刷新达到更新的目的!
The text was updated successfully, but these errors were encountered: