Okay, so let’s say I have two clients connected and issue a (js/alert "bhauman rulez") in the cljs repl. Both clients will show an alert. But how about other interactions, like @app-state or something, which client will I hit then? Or rather, which client’s state is returned in the REPL?
I think that it's a feature. State should be in sync in both clients, not?
i think the answer is “whichever client responds first”
yeah the multi-client feature is mostly so that you can watch dev on another device and see if its going well
to the recommended way to focus is to close a connection
I have played with several solutions to this, the best one is to have each client maintain a reliable human readable name, and then allow the repl to focus on the named connection.
we could have the responses and print output labeled with the name as well
@andrew354 has joined the channel
Struggling with figwheel today: I'd like to set my output-to js compile target to a generated value, but it seems to refuse anything other than a string literal?
I guess possibly this is more CLJS related than figwheel specific.
^ Resolved.