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

pwa.workbox.clientsClaim is not working. #165

Open
zhanyuzhang opened this issue Sep 23, 2024 · 1 comment
Open

pwa.workbox.clientsClaim is not working. #165

zhanyuzhang opened this issue Sep 23, 2024 · 1 comment

Comments

@zhanyuzhang
Copy link

zhanyuzhang commented Sep 23, 2024

pwa.workbox.clientsClaim is not working

pwa:   {
            workbox: {
            skipWaiting: true,
            clientsClaim: false,
  }
}

I want to disable clientClaim ,but it doesn't work as expected and it wolud still controll the existed client on other tab.

@userquin
Copy link
Member

Weird, can you set mode to development and check the generated sw.js?

If you're using any virtual the page reload may force to control the current tab but others shouldn't.

https://developer.chrome.com/docs/workbox/modules/workbox-build#type-GeneratePartial

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

No branches or pull requests

2 participants