Skip to content

Commit 01e47e0

Browse files
committed
Update client-channel.js
1 parent fa241ac commit 01e47e0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

worker/client-channel.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ const INTERNAL_PATHS = {
2929
let liveViewClients = {};
3030

3131

32+
if (enableDevLogs) {
33+
self.registration.update();
34+
}
35+
36+
3237
// get path type
3338
function getPathType(path) {
3439

@@ -200,6 +205,8 @@ function handleFetchRequest(request, event) {
200205
console.debug('[ServiceWorker] targetClientId:', event.targetClientId);
201206
}
202207

208+
// self.registration.update()
209+
203210

204211
let clientId = event.clientId;
205212

0 commit comments

Comments
 (0)