mxstbr / login-flow

:key: A login/register flow built with React&Redux
https://loginflow.mxstbr.com
MIT License
1.6k stars 215 forks source link

Add how to terminate service worker once app isn't running anymore #8

Closed weblancaster closed 8 years ago

weblancaster commented 8 years ago

The worker js file is stored offline by chrome and when running another app on the same localhost and port chrome tries to use the worker.. so in this commit is how to terminate the worker.

mxstbr commented 8 years ago

Makes sense, thanks for thinking of that!