Getting Live Edit to work in IntelliJ 12

I've been struggling for the last 3 hours trying to get this to work. Grrrr

I've installed the Live Edit plugin.
I've installed the JetBrains IDE Chrome Extension from the Chrome Store.
I've set Chrome as my default browser.

Looking in the idea.log I can see
web server started, port 63342

In Chrome, going to Tools->Extensions, I have JetBrains IDE Support 0.5.7 enabled
Clicking on options, it shows Host 127.0.0.1 Port 63342
Clicking on Inspect Views _generated_background_page.html it shows

  1. Failed to load resource: the server responded with a status of 404 (Not Found) chrome-extension://hmhgeddbohgjknpmjagkdomcpobmllji/kotlin-output/browser-ext-bootstrap.js
    1. Kotlin.p.fa.valuebrowser-ext-bootstrap.js:79
    2. Kotlin.p.connect.valuebrowser-ext-bootstrap.js:120
    3. Kotlin.p.f2.valuebrowser-ext-bootstrap.js:22
    4. Kotlin.p.f0.valuechrome-ext-options.js:13
    5. Kotlin.p.f0.valuechrome-ext-api.js:73
    6. chromeHidden.handleResponsesendRequest:49
127.0.0.1:63342 returns 404, may be it is IntelliJ Idea 12.0.x? browser-ext-platform.js:695
Ready to load system latest for 123.0 (127.0.0.1:63342) browser-ext-platform.js:695

System latest loaded for 123.0 (127.0.0.1:63342) browser-ext-platform.js:695



Clicking View->Open in Browser, it loads up my file
http://localhost:8080/scratch/test.html

Edit the file in IntelliJ and nothing happens.
I have *never* seen "Jetbrains is debugging..."


Help!

0
6 comments

Please ensure that View -> Live Edit checked.  Is View -> Reload In Browser work?

0
Avatar
Permanently deleted user

View->Live Edit is checked.
Reload in Browser is greyed out
Reload in Firefox reloads the file.

0
Avatar
Permanently deleted user

Hi,

I have the same problem. It work fine with file location but with 127.0.0.1:63342 came a "404 Not Found IntelliJ IDEA 12.1.5". See this screenshot. When I use with file location I will have problem with "Cross origin request are only supported for HTTP.".



Attachment(s):
screenshot.png
0

Why do you need to open 127.0.0.1:63342? 404 error  — it is ok, if you want to use built-in web server, please use 127.0.0.1:63342/your_project_name.
Please see http://confluence.jetbrains.com/display/WI/LiveEdit "
How to configure IDE connection (IDE port)"

0
Avatar
Permanently deleted user

I mean "127.0.0.1:63342/your_project_name" in my last post. I have use 127.0.0.1:63342/your_project_name but this not work. As described in last contribution come 404 error message.  But with Webstorm work it fine.

0

Please sign in to leave a comment.