-
Notifications
You must be signed in to change notification settings - Fork 153
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
[FR] Add ability to reload without restarting app #26
Comments
Have you tried |
I think location.reload would not do that, as it reloads to |
Oh wait, I am wrong. The |
Works in the iOS simulator, thanks! Maybe add that as a possible use of |
Great idea, just added that. Thanks! |
Is there a meteor package similar to https://atmospherejs.com/mdg/reload-on-resume but for desktop clients? I mean a package that changes the behavior of Meteor's hot code push feature and allows us to attache custom code and define what happens when a new version is downloaded or detected. I think doing a full page reload (for example by calling |
The way hot code push is implemented currently actually does do a full page reload for exactly this reason. You can attach hooks to reload related events via the |
@stubailo Thanks, good to know :) You mean I should take a look at this package ? => |
That would also be helpful, but I meant the |
Okay :) I'll take a look.. THX |
If we use
but that record is not existed after the reload. Is there any smooth way to do this like My code
|
This is more of |
+1 |
Can be used to display a message to the user that says "new version available, restart the app to update."
It would be nice to be able to display a message, "New version available, click here to update", and then the in-app browser refreshes to the new version, especially since many users don't know how to restart apps. Could a
Reload.update()
function be added?The text was updated successfully, but these errors were encountered: