[jbosstools-issues] [JBoss JIRA] (JBIDE-20745) Livereload doesn't work with CordovaSim on default THYM project

Ilya Buziuk (JIRA) issues at jboss.org
Mon Sep 21 09:49:00 EDT 2015


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

Ilya Buziuk updated JBIDE-20745:
--------------------------------
    Description: 
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim 
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim 

Basically the things with Livereload are getting even more weird.
In order to make it work one nee to remove the following meta tag from index.html:
{code}
        <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
{code}

However, 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} 

  was:
Steps to reproduce:
1) create default THYM project
2) enable Livereload server
3) run THYM project on CordovaSim 
4) edit index.html and save changes
ERROR: refresh is not happening on Cordovasim 




> Livereload doesn't work with CordovaSim on default THYM project 
> ----------------------------------------------------------------
>
>                 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.0.CR1
>
>
> Steps to reproduce:
> 1) create default THYM project
> 2) enable Livereload server
> 3) run THYM project on CordovaSim 
> 4) edit index.html and save changes
> ERROR: refresh is not happening on Cordovasim 
> Basically the things with Livereload are getting even more weird.
> In order to make it work one nee to remove the following meta tag from index.html:
> {code}
>         <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *">
> {code}
> However, 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} 



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


More information about the jbosstools-issues mailing list