mfikes / ambly

ClojureScript REPL into embedded JavaScriptCore
http://ambly.fikesfarm.com
Eclipse Public License 1.0
541 stars 21 forks source link

If WiFi off, Bonjour problematic #92

Open mfikes opened 9 years ago

mfikes commented 9 years ago

If WiFi is off, it seems that startup order is important. If you start the simulator first and then the REPL, it will get stuck at "Searching for devices ...". But if you reverse the order, this problem is not encountered. This is on OS X 10.10.3.

mfikes commented 9 years ago

Note that an alternative workaround, if you need to connect to an app instance in the simulator that has some state (and you are perhaps also using :analyze-path, for example), is to simply do the Hardware > Home and then re-open the app. This causes Bonjour to be re-advertised by GCDWebServer when the app comes back to being foreground.