Fork me on GitHub
#beginners
<
2022-03-14
>
Stuart17:03:36

When I add a new dep to my deps.edn, I have to restart my REPL, is this correct ? Is their a workflow where I wouldn't have to restart ?

Stuart17:03:04

I'm using VSCode and Calva if that makes a difference

Alex Miller (Clojure team)17:03:18

that's correct. there is an experimental "add-libs" feature for adding deps dynamically, probably the best info on that is here: https://github.com/seancorfield/dot-clojure/blob/develop/deps.edn#L90-L116

Alex Miller (Clojure team)17:03:01

it's not magic - you can still get to a point where add-libs won't work

Stuart17:03:15

Thank you! I'll have a read of that link.

practicalli-johnny18:03:22

I use add-libs to hotload libraries from within a rich comment block or from a dev/user.clj file https://practical.li/clojure/alternative-tools/clojure-cli/hotload-libraries.html

2