-
Notifications
You must be signed in to change notification settings - Fork 111
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
[ONC-40] Reload the page if the git sha doesn't match the latest #7771
Conversation
|
||
function* reloadDaemon() { | ||
yield* fork(visibilityPollingDaemon, checkGitSHA()) | ||
yield* fork(foregroundPollingDaemon, checkGitSHA(), SHA_CHECK_MS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i feel like it's enough to only check this when the app comes back into the foreground
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, but with a request this cheap why not do it anyway? 😃
Preview this change https://demo.audius.co/mjp-reload-git-sha |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is dope! and it appears this only runs in web saga land right?
Preview this change https://demo.audius.co/mjp-reload-git-sha |
[959eac4] [PAY-2530] Add repost buttons to purchase success (#7757) Raymond Jacobson [b21f725] [ONC-40] Reload the page if the git sha doesn't match the latest (#7771) Marcus Pasell [871638e] Format artist tracks and followers count (#7772) Dylan Jeffers [1ba8759] Disable play button if all collection tracks deleted on web (#7752) Saliou Diallo
ONC-40
Previous iteration used the env var, but on the rare chance that doesn't change, decided for local var instead.