Skip to content

Commit 4e3ffed

Browse files
committed
Update client-channel.js
1 parent 49ab793 commit 4e3ffed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

worker/client-channel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ let enableDevLogs = false;
153153
workerChannel.addEventListener('message', (event) => {
154154

155155
if (event.data.type === 'enableDevLogs') enableDevLogs = true;
156+
if (event.data.type === 'hello') workerChannel.postMessage('hello!');
156157

157158
});
158159

0 commit comments

Comments
 (0)