[jbosstools-issues] [JBoss JIRA] (JBIDE-20745) Livereload doesn't work stable with CordovaSim / BrowserSim

Ilya Buziuk (JIRA) issues at jboss.org
Tue Sep 22 08:38:00 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13111248#comment-13111248 ] 

Ilya Buziuk commented on JBIDE-20745:
-------------------------------------

[~akazakov], [~xcoulon] yes [2] seems to be old. Literally, the way we load *livereload.js* has not been changed for ages - https://github.com/jbosstools/jbosstools-browsersim/blob/master/plugins/org.jboss.tools.browsersim.ui/src/org/jboss/tools/browsersim/ui/BrowserSim.java#L646
However, it seems that for JavaFx this way is not going to work in some cases (relatively small files which are loaded promptly by browser). Literally, SWT *LocationListener* and JavaFx *ChangeListener* seem to have a bit different behaviour

> Livereload doesn't work stable with CordovaSim / BrowserSim
> -----------------------------------------------------------
>
>                 Key: JBIDE-20745
>                 URL: https://issues.jboss.org/browse/JBIDE-20745
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: browsersim, cordovasim, livereload
>    Affects Versions: 4.3.0.CR1
>            Reporter: Ilya Buziuk
>            Assignee: Ilya Buziuk
>            Priority: Critical
>             Fix For: 4.3.1.Final
>
>
> It seems that Livereload stopped working on simple pages like:
> {code}
> <!DOCTYPE html>
> <html>
> <head>
>        <title>Insert title here</title>
> </head>
> <body>
>         <h1>Hello World</h1>
> </body>
> </html>
> {code} 
> But at the same time it works fine with some complex projects like  & https://github.com/ibuziuk/cordovasim-demo



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list