PhpStorm LiveEdit HTML有效,但CSS无效 [英] PhpStorm LiveEdit HTML works but CSS doesn't

查看:231
本文介绍了PhpStorm LiveEdit HTML有效,但CSS无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在PhpStorm 7.0中设置了LiveEdit,并下载了Chrome扩展"JetBrains IDE支持" v1.25.我还设置了Javascript Debug运行配置.当我运行此配置并在PhpStorm中编辑HTML文件时,Chrome浏览器中的页面将按预期重新加载.但是,如果我编辑CSS文件,除非重新加载页面,否则更改不会反映在浏览器中.

I just set up LiveEdit in PhpStorm 7.0 and downloaded the Chrome Extension "JetBrains IDE Support" v1.25. I also set up a Javascript Debug run configuration. When I run this configuration and edit an HTML file in PhpStorm the page in my Chrome browser reloads as expected. However, if I edit my CSS file the changes are not reflected in my browser unless I reload the page.

还有其他人遇到过这个问题吗?我已经在Google上搜索了很多,但没有提出任何建议.我很沮丧,因为HTML编辑工作正常...

Has anyone else had this issue? I've googled quite a bit but haven't come up with anything. I'm stumped because the HTML edits are working fine...

推荐答案

问了这个问题已经有一段时间了,但是我最近偶然发现了同样的问题,在该主题上找不到任何帮助.

It has been a while since this question was asked, but I stumbled over the same problem recently and couldn't find any help on that topic.

经过一些试验,我发现将实时编辑"选项从手动"设置为自动"(ms):解决了这个问题.

After some experimenting, I found that setting the the Live Edit options from Manual to Auto in (ms): solved the problem.

设置->构建,执行,部署->调试器->实时编辑->开启自动输入(毫秒)"

Settings -> Build, Execution, Deployment -> Debugger -> Live Edit -> toggle "Auto in (ms)" on

希望有帮助

这篇关于PhpStorm LiveEdit HTML有效,但CSS无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆