Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Page isn't reloading with new resources in dev mode #28

Closed
ptarjan opened this issue Oct 14, 2015 · 1 comment
Closed

Page isn't reloading with new resources in dev mode #28

ptarjan opened this issue Oct 14, 2015 · 1 comment

Comments

@ptarjan
Copy link
Contributor

ptarjan commented Oct 14, 2015

When I make a change to one of my files in dev mode while using cordova-hcp server, I see this in the Xcode console

2015-10-14 13:59:06.548 Trimian[68609:17794099] Loaded file all.js
2015-10-14 13:59:06.551 Trimian[68609:17794099] Update is ready for installation
2015-10-14 13:59:06.552 Trimian[68609:17793946] chcp_updateIsReadyToInstall [object CustomEvent]
2015-10-14 13:59:07.531 Trimian[68609:17793946] chcp_updateInstalled [object CustomEvent]
2015-10-14 13:59:07.785 Trimian[68609:17794099] Nothing to update
2015-10-14 13:59:07.786 Trimian[68609:17793946] chcp_nothingToUpdate [object CustomEvent]

(the chcp_ is me logging the javascript events that are fired).

Then the page reloads with the old data. If I kill the app and restart it, I get the new data, but that kind of defeats the purpose here.

Here are some related files:

$ cat www/chcp.json
{
  "release": "2015.10.14-13.59.03",
  "content_url": "https://291b3fb6.ngrok.com",
  "update": "now"
}
@ptarjan ptarjan changed the title Page isn't reloading with new resources Page isn't reloading with new resources in dev mode Oct 14, 2015
@ptarjan
Copy link
Contributor Author

ptarjan commented Oct 14, 2015

This was the same issue as #2

@ptarjan ptarjan closed this as completed Oct 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant