Open CmdrDats opened 4 years ago
What did you end up doing?
Ended up switching the shadow-cljs (for unrelated reasons) and setup nginx reverse proxy from the vm for the ws ports 😀 similar approach should work for figwheel.
Ah yea a bit of nginx will solve almost anything. 🤣
I've got a fairly complex setup on my side (involving reverse proxy from vm to host, dynamic web port assignment, et al) - I'm already firing up httpkit, a repl, and various other bits and pieces and I need to be able to fire up figwheel to compile my clojurescript from inside the process and serve up hot-reloaded code.
ie - I need to route a custom websocket url from httpkit in my existing server to figwheel and trigger a build that has a dynamically created URL for the websocket. If that makes any sense?
Is this something that can be wrangled with the existing code, or do I need to try fork the project and tweak stuff around a bit?