Skip to content

Commit 26b9421

Browse files
committed
Update client-channel.js
1 parent a068761 commit 26b9421

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

worker/client-channel.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,10 @@ function handleFetchRequest(request, event) {
197197

198198
} else if (pathType === 'run'
199199
|| (getPathType(request.referrer) === 'run')) { // if fetch originated in live view
200-
201-
console.debug('[ServiceWorker] Intercepted live fetch', event);
200+
201+
if (enableDevLogs) {
202+
console.debug('[ServiceWorker] Intercepted live fetch', event);
203+
}
202204

203205

204206
let clientId = event.clientId;

0 commit comments

Comments
 (0)