Oh sorry, I'm running IntelliJ in WSL2, well the integrated terminal and directly loading my project off of the WSL2 file-system. Which seems to make everything work... I was surprised by how much of a difference it made!
Sorry for the delay, my son was born 10 days ago. 😊 In the end it seems completely removing target from the classpath and allowing figwheel to add it dynamically works reliably.
@bhauman found another thing that’s lacking in the react-native support. It is common to run the dev build on an actual device, hot reloading over the local network. Figwheel is configured to load files through localhost by default and even when I change :connect-url to use [[server-ip]] it stil seems to be connecting to 127.0.01 although it thinks it’s trying my actual machine’s IP. If there’s a way to get non-localhost to work that seems like the more appropriate defaults.
@daniel975 you just need to update to the latest figwheel
That was fast! Works like a charm when running on device but the chrome debug mode still doesn’t connect for some reason.