practicalli / blog-cryogen

Cryogen powered blog with all the content used to generate the static website.
https://practical.li/blog-cryogen/
3 stars 2 forks source link

Hot-loading dependencies in deps.edn projects #42

Open practicalli-johnny opened 4 years ago

practicalli-johnny commented 4 years ago

I’m sure this has been asked before, but can’t seem to find it. When within a running clj repl, is it possible to resolve new deps; kind of like boot-clj set-env! ?

there's a speculative feature called add-lib in a branch for this

http://insideclojure.org/2018/05/04/add-lib/

seancorfield commented 4 years ago

If you're curious, here's an example in next.jdbc of how I leverage this -- since the test dependencies for next.jdbc are not available by default in my REPL at work:

https://github.com/seancorfield/next-jdbc/blob/master/test/next/jdbc/test_fixtures.clj#L132-L154