]
Vlado Pakan commented on JBIDE-20912:
-------------------------------------
I don't know how Chrome is doing it but it works and I'm not able to say how much
time is needed to find it out or if it's even possible to find out..
I don't know how server is injecting LiveReload javascript to the page so I can't
say how difficult would be to find it and remove it on BrowserSim side.
Enable / Disable LiveReload settings have no effect for pages with
already injected LiveReload.js
-------------------------------------------------------------------------------------------------
Key: JBIDE-20912
URL:
https://issues.jboss.org/browse/JBIDE-20912
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: browsersim, cordovasim
Affects Versions: 4.3.0.CR2
Environment: JBDS 9.0.0.GA-v20151002-2235-B124, Fedora 22 KDE 64 bit, Oracle Java
1.8
Reporter: Vlado Pakan
Assignee: Ilya Buziuk
Fix For: 4.3.1.Final
1. Import HTML 5 project from JBoss Central
2. Run it on server
3. Open Server view, expand running server, select HTML 5 project, click on context menu
'Show In' > 'Web Browser via LiveReolad Server'
ASSERT: index.html page is opened in system web browser
4. Copy link with index.html from system web broweer to Browsersim
ASSERT: LiveReload is enabled in BrowserSim context menu
5. Open index.html page in VPE, change content and save it
ASSERT: Changes are rendered in BrowserSim and system web browser
6. Disable LiveReload in BrowserSim context menu
7. change content of index.html and save it
ASSERT: Changes are rendered in system web browser
ERROR: Changes are rendered in BrowserSim (CordovaSim)