You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an interesting issue that I just realised. Although it was made by design, I realised that people may want just plain vanilla .html pages but also want autoreload, console, etc to work when on that particular page.
So if a particular .html page does not have this string:
This could also be the cause of many people's issues with autoreload. If they make a page and do not include the cordova.js script tag, then they get no updates from the server.
The text was updated successfully, but these errors were encountered:
This is an interesting issue that I just realised. Although it was made by design, I realised that people may want just plain vanilla .html pages but also want autoreload, console, etc to work when on that particular page.
So if a particular .html page does not have this string:
<script type=\"text/javascript\" src=\"cordova.js\"></script>None of the scripts will inject!
Sources:
https://github.com/phonegap/connect-phonegap/blob/master/lib/middleware/zip.js#L74
https://github.com/phonegap/connect-phonegap/blob/master/lib/middleware/update.js#L61
This could also be the cause of many people's issues with autoreload. If they make a page and do not include the cordova.js script tag, then they get no updates from the server.
The text was updated successfully, but these errors were encountered: