为什么WebStorm的LiveEdit在Chrome中不起作用? [英] Why does WebStorm's LiveEdit not work in Chrome?

查看:386
本文介绍了为什么WebStorm的LiveEdit在Chrome中不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在浏览WebStorm的试用版,并想使用LiveEdit功能。

I am exploring WebStorm's trial version and would like to use the LiveEdit features.

执行以下操作后,我将无法使用LiveEdit功能:

I am not able to use the LiveEdit features after performing the following actions:


  1. 确保已打开LiveEdit

  2. 安装了Chrome扩展程序

  3. 在安装扩展程序后重新启动浏览器(我仍然怀疑不需要)

  4. 在chrome中运行HTML页面

  1. Made sure that LiveEdit is turned on
  2. Installed the Chrome extension
  3. Restarted the browser after installing the extension (I still suspect it is not required)
  4. Run the HTML page in chrome

修改HTML正文时,我不会

When I modify the HTML body, I don't see the changes reflected in Chrome.

我在一个论坛上读到,不需要netty。

I read on a forum that netty is not required.

我们需要吗?

我还需要配置什么才能使用LiveEdit功能?

What else do I need to configure so that I can use the LiveEdit feature?

PS:我是使用WebStorm 5.0。

PS: I am using WebStorm 5.0.

推荐答案

您碰巧偶然打开了IntelliJ吗?
关键是端口63342被另一个应用程序占用(即使它与HTML调试无关)。

Do you happen to have IntelliJ open by chance? The point is that the port, 63342, is 'seized' by another app (even if it has nothing to do with HTML debugging).

当端口繁忙时,LiveEdit会尝试下一个端口63343。如果右键单击Chrome上的JB图标,选择选项,将端口增加一个,然后按应用,即可进行神奇的连接。我希望Jetbrains会麻烦告知用户他们当前试图使用的端口是什么。

When the port is busy, LiveEdit tries the next one, 63343. If you right click the JB icon on Chrome, choose Options, increment the port by one, and press Apply, you will magically connect. I wish Jetbrains would have bothered to inform the user what is the port that they are currently attempting to use.

在我的PC中,当我使用Mac时就发生了。以下任一方法均可:
1.杀死IntelliJ IDEA(也已打开),然后重试
2.如上所述,将端口增加1。

In my PC it happened when I had Mac on. Either one of the following worked: 1. Kill IntelliJ IDEA (that was also open) and try again 2. Increment the port by one as I mentioned above.

这篇关于为什么WebStorm的LiveEdit在Chrome中不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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