Skip to content
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

Check bundle hash to avoid duplicate work #37

Open
sondreb opened this issue Aug 11, 2024 · 1 comment
Open

Check bundle hash to avoid duplicate work #37

sondreb opened this issue Aug 11, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@sondreb
Copy link
Member

sondreb commented Aug 11, 2024

This commit does not appear to work: 0a7fd1d

The app is suppose to only run protocol registration each time the hash changes.

@sondreb sondreb added the good first issue Good for newcomers label Aug 11, 2024
@sondreb
Copy link
Member Author

sondreb commented Aug 11, 2024

There is already some logic for getting the hash in the update.service.ts, look into using this to store the previous hash and validate on load in app.component.ts.

Example from app log:

Current app version: d5b2e679930a574f058bf636c68b60400d662686
New app version ready for use: 04b428cc21fbe2c334ea743874b5e91385a60369

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant