I’m using cursive and loving it, but I need that hot loading libraries into namespace / project.clj / repl feature yesterday!
any chance we’ll get something like that in cursive?
@erichmond: Is it possible to use Alembic for that?
Not sure why it wouldn’t work in Cursive
Never heard of Alembic, I’ll check it out, thanks!
Add to your .lein/profiles.clj
Then in the REPL
(require ‘[alembic.still])
And the typical way I use it is (alembic.still/load-project)
Which reloads your project.clj
that is what we use for this feature in refactor-nrepl
But you can also test out libraries with distill
which takes a single dependency
As a note - there are some issues when requiring different versions
This will only get you to the adding new dependencies, not changing versions
this may be helpful i guess: https://github.com/clojure-emacs/refactor-nrepl/blob/master/src/refactor_nrepl/artifacts.clj
@erichmond: Yes, alembic should work, but I’d like to make that transparent.
Yep alembic works well
Any slamhound user around here? Do you get annoying ClassNotFoundException
when using dotted aliases like <http://java.io|java.io>
? I think I have a fix in https://github.com/technomancy/slamhound/pull/87. Comments welcome :simple_smile: