Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App not refreshing page anymore #309

Open
Cr1cket opened this issue Jun 21, 2015 · 5 comments
Open

App not refreshing page anymore #309

Cr1cket opened this issue Jun 21, 2015 · 5 comments
Milestone

Comments

@Cr1cket
Copy link

Cr1cket commented Jun 21, 2015

The 4 finger tap and the refresh on file update functions don't work anymore. The desktop app shows that it recognizes the file is updating

C:\Users\James\Projects\Dedi Manager\www\index.html
file changed

However the page isn't refreshing. Both the desktop app and mobile app are up to date.

@omefire
Copy link

omefire commented Jun 23, 2015

same for me.

@JamesS1
Copy link

JamesS1 commented Jul 4, 2015

Has anyone took a look at this yet?

@timkim
Copy link
Contributor

timkim commented Jul 6, 2015

Hi all,

Hrm - it might be related to this issue: phonegap/connect-phonegap#120. If you're not including cordova.js on the page that needs to be refreshed, that might the cause. Another possibility is that it might be some malformed js that is interrupting the autorefresh logic.

@mwbrooks mwbrooks modified the milestone: Backlog Sep 11, 2015
@mwbrooks mwbrooks removed the backlog label Sep 11, 2015
@saike
Copy link

saike commented Jan 10, 2016

HI! After long time of bitting head by the wall, i found, that Live Reload Sockets was blocked by this meta tag: '<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com; style-src 'self' 'unsafe-inline'; media-src *"> in head section. This tag blocks inline scripts, that wrote by cordova.js, i think. After removing this tag livereload and console.logs started work.

But console then always raise this error: [phonegap] [console.error] No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist plugin.

@mwbrooks
Copy link
Collaborator

Ugh, good catch @saike!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants