-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
How can I re-download the app bundle? #3445
Comments
Can you please elaborate? Are you trying to hot reload the browser as you are developing? If yes, then out of the box |
I want to use websockets to notify my react app that there is a new version available. If my users are currently ON the webapp when this happened, they will continue to use the old webapp until they hard-refresh. So I want to notify the users that there is a new version so they can manually click and hard-refresh the app. |
I think that is out of scope for this project. CRA aims to provide you an easy way to get started with creating react apps. So more to do with developing, bundling, testing etc. Perhaps Service Workers are more suited to the use case you are outlining. CRA already makes it easier to get started with it, you can read more about it here |
Closing as dupes of above issues. |
When a newer version of my react-app is available. I want to re-download the bundle.
I know how to find if the bundle is outdated using a version number. But I can't figure out how I can make the browser redownload the latest bundle.
How is this possible?
The text was updated successfully, but these errors were encountered: