Skip to content

Commit c724dfa

Browse files
committed
fix socket subscription
1 parent 10f112c commit c724dfa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/redux-devtools-remote/src/devTools.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,9 @@ class DevToolsEnhancer<S, A extends Action<string>, PreloadedState> {
402402
for await (const data of this.socket!.subscribe(channelName)) {
403403
this.handleMessages(data as Message<S, A>);
404404
}
405+
for await (const data of this.socket!.subscribe('sc-' + this.socket!.id)) {
406+
this.handleMessages(data as Message<S, A>);
407+
}
405408
} catch (error) {
406409
console.log(error);
407410
}

0 commit comments

Comments
 (0)