- From: Jake Archibald <notifications@github.com>
- Date: Mon, 20 Jul 2015 13:03:06 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Monday, 20 July 2015 20:03:33 UTC
Agree with @annevk here. `reg.update()` should return a promise that resolves if the update completes successfully (even if no new SW is created as a result), it rejects if there's a network error. The resolved value should be undefined, as you already have the registration. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/311#issuecomment-123012186
Received on Monday, 20 July 2015 20:03:33 UTC