Hi all, I am building an app that serves a reagent-based client, the app must run as a docker container even during development of the client so I am trying to enable a figwheel workflow while the client is served from my docker container but so far I haven’t been able to set this upp correctly, any idea on how to accomplish this?

dominicm 2020-10-25T15:54:12.079500Z

@amorokh what have you tried, what didn't work? This should just work pretty much :)


@dominicm sorry, I really didn’t state my problem correctly.. besides running in a docker container I also need to package the entire thing in an uberjar so what I am trying to do is to “compile” the client with figwheel to produce output that can be packaged into the jar-file and then served (the reason for the uberjar is a restricted runtime env where I am not able to connect to internet or to write to the filesystem), so I guess that my real problem is: how do I produce a figwheel-enabled client that can be packaged into a jar-file? please let me know if I’m thinking about this the wrong way..

dominicm 2020-10-25T18:42:39.085200Z

@amorokh how do you edit the files if they're in the uberjar?

dominicm 2020-10-26T08:44:57.085500Z

You mean by eval'ing?


yes, I guess

dominicm 2020-10-26T13:05:10.085900Z

Figwheel doesn't really help with that

dominicm 2020-10-26T13:05:22.086100Z

You probably just want a basic clojurescript browser repl

dominicm 2020-10-26T13:05:39.086300Z

Make sure you don't use advanced compilation


ok, thanks


good question 🙂 I thought that I could build the client with figwheel support and connect the fighwheel repl from my dev machine and then just edit the files locally and update the client in “memory” in the container, I might be misunderstanding things