[jbosstools-issues] [JBoss JIRA] (JBIDE-14827) CordovaSim: LiveReload doesn't work

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Wed Jun 19 10:46:22 EDT 2013


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

Yahor Radtsevich commented on JBIDE-14827:
------------------------------------------

_A summary from a chat with [~xcoulon]:_
It would be better if the LiveReload server knows at least the name of the project opened in CordovaSim. This will allow the server to notify its clients about changes in a specific project instead of all changes in the workspace.

On the CordovaSim side we could implement it by adding the project name to the url as follows:
http://localhost:4400/<project>/index.html (currently it is just http://localhost:4400/index.html).

The changes needed in CordovaSim to add the <project> url are quite big/dangerous to be included in Beta2. So our proposal is try to create a hotfix for Beta2 - notify CordovaSim about all workspace changes. Then implement the <project> url in CR1.

[~maxandersen] WDYT?
                
> CordovaSim: LiveReload doesn't work
> -----------------------------------
>
>                 Key: JBIDE-14827
>                 URL: https://issues.jboss.org/browse/JBIDE-14827
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: browsersim, livereload
>    Affects Versions: 4.1.0.Beta1
>         Environment: Fedora 18 or 19
> JBDS 7.0.0.Beta1
> with following updates from JBoss Tools 4.1.0.Beta1 update site [1]:
> {code}
> JBoss Mobile Hybrid Application Development Tools (Experimental)	1.0.0.Beta1-v20130523-2211-B7
> JBoss Tools Apache Cordova Simulator	3.5.0.Beta1-v20130525-0825-B60
> JBoss Tools Mobile Browser Simulator	3.5.0.Beta1-v20130525-0825-B60
> {code}
> java version "1.7.0_19"
> OpenJDK Runtime Environment (fedora-2.3.9.5.fc18-x86_64)
> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
> [1] http://download.jboss.org/jbosstools/updates/development/kepler/
>            Reporter: Lukáš Fryč
>            Assignee: Xavier Coulon
>            Priority: Critical
>             Fix For: 4.1.0.Beta2, 4.1.0.CR1
>
>
> Steps to Reproduce:
> 1) start LiveReload server
> 2) create new Hybrid Mobile (Cordova) Application Project
> 3) Project.. Run As > Run with CordovaSim
> app works as expected
> 4) enable LiveReload (BrowserSim context menu)
> 5) modify index.html
> FAIL: the page isn't automatically reloaded (once manually refreshed, the modification is visible)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list