1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

ask user to refresh after deploy build

Discussão em 'Angular' iniciado por Abhishek, Setembro 25, 2024.

  1. Abhishek

    Abhishek Guest

    i am using angular to create a SPA after every deploy i have to hard refresh the page to get the latest content I want to show a popup to user that new version is available you can refresh the browser I try to use service worker but stuck when user hard refresh the browser in this case I can't access my service worker functions like checkforUpdate() and versionUpdates() after hard refresh swUpdate.Enables gives me true but not able to access the functions how can I achieve this

    Continue reading...

Compartilhe esta Página