I've just happened upon a workaround for getting lein profiles working from nrepl. My usecase is multiple figwheel "instances" within one lein project. I thought it was useful enough to share.
It might also be nice to extend start-figwheel! to accept additional profiles to be merged in, so that the above could be simplified to something like:
I've just happened upon a workaround for getting lein profiles working from nrepl. My usecase is multiple figwheel "instances" within one lein project. I thought it was useful enough to share.
project.clj
dev/user.clj
It might also be nice to extend
start-figwheel!
to accept additional profiles to be merged in, so that the above could be simplified to something like:If this is of interest, let me know and I'll look in to putting a PR together.