Liveserver(Ritwick Dey)在检查元素期间不重新加载
新的开发人员在这里,我在Vscode中与Liveserver有问题。
当我在Chrome上打开Liveserver并进行更改时,它将毫无问题地重新加载,但是当我检查元素时,该页面并对我的HTML进行了一些更改,然后保存它,Liveerver不会重新加载并弹出“否互联网”页面。然后,左下角将显示“ html.offline”。
我从我在线看到的内容(没有成功)尝试了:
- 将扩展设置更改为“使用本地IP”。
- 在设置中添加了“ liveserver.settings.port”:5501”。json
- 和重新安装了ext。
- 更新了ext。
是否有人知道可能会导致问题?
禁用
New dev here, I'm having issues with my LiveServer in VSCode.
When I open the LiveServer on Chrome and make changes, it'll reload without any problems however, when I inspect element the page and make some changes to my HTML and then save it, the LiveServer doesn't reload and pops up the "No Internet" page. The bottom left will then show "html.offline".
What I've tried (without success) from what I've seen online:
- Changed the extension setting to "Use Local Ip".
- Added "liveServer.settings.port":5501" in the Settings.json
- Disabled and reinstalled ext.
- Updated ext.
Is there anything else someone may know that could be causing the problem?
Thank you in advance! :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将镀铬开发工具的节流设置为“无防潮”。我这样做了,我的工作工作了。
按Ctrl+Shift+M,然后在顶部工具栏设置为无节流。
try setting your throttling in chrome dev tools to "No throttling". I did this and mine worked.
Press Ctrl+Shift+M then at the top toolbar set to no throttling.