lein-figwheel

bhauman 2017-10-03T00:47:22.000143Z

@jeaye this probably happens inside the websocket client server implementation, messages are queued up because it is an open "connection" active or not

jeaye 2017-10-03T02:33:10.000081Z

@bhauman Ah, so this is likely more a re-natal issue than lein-figwheel, if I understand correctly?

bhauman 2017-10-03T02:43:48.000070Z

in a way its an issue of the underlying transport layer

bhauman 2017-10-03T02:44:43.000136Z

the websocket server is going to queue the messages until they are recieved

bhauman 2017-10-03T02:45:31.000203Z

which is good behavior, even in this case because it ensures that all the files that you have edited are reloaded in the order that you edited them

bhauman 2017-10-03T02:46:32.000020Z

the best solution here is really to prevent the device from sleeping via settings, unless of course you are working on a feature that depends on sleeping, etc.

jeaye 2017-10-03T04:12:27.000076Z

Oh, I see.

jeaye 2017-10-03T04:14:52.000100Z

Well, it's good to know; thanks for the info, @bhauman. I'd like these devices to sleep most of the time, so managing that setting is more likely going to cause some annoyance, so I think I'll continue as I have been.

jeaye 2017-10-03T04:16:28.000103Z

Thinking about it at a high level, it seems like it'd be feasible to read all available commands from the socket and dedupe them, so double, triple, etc reloads don't happen. I know almost nothing about the implementation details of figwheel though.