Skip to content

Commit

Permalink
Resends the subscribed values when a fresh client connects. (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
skellock committed Aug 6, 2016
1 parent e273464 commit fd45c30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/reactotron-cli/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const server = createServer({
},
onConnect: client => {
context.post({ type: 'client.add', client })
context.post({ type: 'redux.subscribe.request' })
},
onDisconnect: client => {
context.post({ type: 'client.remove', client })
Expand Down

0 comments on commit fd45c30

Please sign in to comment.