]
Max Rydahl Andersen commented on JBIDE-20912:
---------------------------------------------
okey, so this work as expected. LiveReload.js is now forced into the web page so any
setting in either browser or livereload will have zero effect.
The livereload injected is not the livereload browsersim is reacting to. They just in this
case have the same file name - it could just as well be something else than livereload
that got injected.
LiveReload is not disabled
--------------------------
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)