[jbosstools-issues] [JBoss JIRA] (JBIDE-15080) Add prompt to BrowserSim when user enables LiveReload but no LiveReload server exists

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Jul 2 05:54:20 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-15080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen resolved JBIDE-15080.
-----------------------------------------

    Resolution: Rejected


I'm going to reject this since its two different concerns.

LiveReload consists of two parts - a LiveReload server and a LiveReload Client.

The livereload client knows about which page is being loaded and contacts the server.

The Livereload server listens to resource changes and send notifications to the clients that have asked for them.

In Eclipse you are "in-the-middle", you are opening a resource target for livereload and because Eclipse knows about the exact server it can show this dialog and start the server before the browser is opened.

In BrowserSim you are past that point - you are in the client and there is no contact to the server nor to eclipse from here that can be used sensibly to open this dialog.

This is the exact same if you install the LiveReload plugin into your safari and chrome - when you enable livereload here you don't expect a dialog asking about the livereload server being started.

Furthermore livereload could also be running as a standalone program (like guard-reload) and here browsersim would connect fine too - not needing this extra launch.

                
> Add prompt to BrowserSim when user enables LiveReload but no LiveReload server exists
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-15080
>                 URL: https://issues.jboss.org/browse/JBIDE-15080
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: browsersim
>    Affects Versions: 4.1.0.Beta2
>         Environment: JBDS Beta2-v20130626-0242-B345
>            Reporter: Michelle Murray
>         Attachments: LiveReload_ConfigPrompt2.png
>
>
> For deployed app or workspace resources, the user is prompted when they click a LiveReload action (e.g., Show In > Web Browser via LiveReload Server) and no LiveReload server exists or server is stopped. The prompt offers to create or start a server as necessary.
> In BrowserSim, there is no prompt when a user selects 'Enable LiveReload' and no LiveReload server exists or the server is stopped. It would be great to add a prompt as above.
> [Screenshot attached of the other prompt but I don't think the wording of it is great and have put in JBIDE-15074 suggesting changes.]

--
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