[jbosstools-issues] [JBoss JIRA] (JBIDE-20915) HTML Page is not refreshed after page is changed in web browser with enabled LiveReload

Xavier Coulon (JIRA) issues at jboss.org
Thu Dec 10 09:42:00 EST 2015


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

Xavier Coulon commented on JBIDE-20915:
---------------------------------------

@vpakan: thanks for confirming that is works with a delay. As I explained before, there must be a bad synchronization between LiveReload and Wildfly, because the LiveReload plugin in JBoss Tools is notified when the html file has been published and then it notified the browser, but it is possible that WildFly did not re-deploy this html file before the browser received the "reload" command, and hence, it gets the old copy of the page instead of the new one.

[~mhusnain], where should we document this workaround ?

> HTML Page is not refreshed after page is changed in web browser with enabled LiveReload
> ---------------------------------------------------------------------------------------
>
>                 Key: JBIDE-20915
>                 URL: https://issues.jboss.org/browse/JBIDE-20915
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: livereload
>    Affects Versions: 4.3.0.CR2
>         Environment: JBDS 9.0.0.GA-v20150925-1252-B116
>            Reporter: Vlado Pakan
>            Assignee: Xavier Coulon
>            Priority: Critical
>             Fix For: 4.3.1.Beta2, 4.4.0.Alpha1
>
>
> 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. Make some changes to opened page and save them.
> ASSERT: Page is redisplayed in web browser and changes made to page are visible in web browser.
> Repeat step 4. couple of times
> ERROR: Page in web browser blinked seems to be redisplayed but content of page displayed in web browser is not changed



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


More information about the jbosstools-issues mailing list