polylith

winsome 2026-05-13T15:48:09.574849Z

Does anybody use https://github.com/lambdaisland/launchpad with polylith? Any comments about how well they work together?

👀 1
seancorfield 2026-05-13T16:08:32.156979Z

My only comment would be: Polylith projects have just one REPL entry point with the :dev alias, so launchpad feels a bit overkill, but it seems like you could easily configure launchpad to drive starting up that nREPL server...?

seancorfield 2026-05-13T16:10:02.348899Z

That said, I have a standard REPL-starting script I use -- https://github.com/seancorfield/dot-clojure/blob/develop/bin/repl -- since I always start my REPL from the terminal and then "connect" my editor to that: repl -A:dev for Polylith projects, repl for everything else.

seancorfield 2026-05-13T16:11:21.887839Z

That :dev/repl alias (used in repl) comes from my user deps.edn (from that same dot-clojure repo), and starts a REPL loaded with whatever it finds on the classpath, in terms of Rebel Readline, nREPL, CIDER middleware, Portal, logging etc.

winsome 2026-05-13T16:16:30.156099Z

It has a handy add-deps integration that watches changes to your deps.edn and automatically calls add-deps on changes, which is nice, but I worried adding deps to polylith projects is a little more complex. But after rereading the library docs I think it would work just fine. I'll test it out.

seancorfield 2026-05-13T16:34:10.829389Z

Given the heavy use of :local/root dependencies, I don't know if that would work correctly -- and my experience with a large Polylith project (150K lines, 20+ bases, 20+ projects), add-lib / sync-deps doesn't do well on so many dependencies...