Closed bseib closed 4 years ago
I approve this PR. I've been using identical code for my PWA, but still trying to understand if there is any logic behind not firing the 'ready' event for localhost.
Sorry for the late response and thank you so much for the help. I'll release a new version soon.
Emit the 'ready' event regardless of being on localhost development or in production. When a service worker is active and ready, emit the signal.
Fixes #20