Fork me on GitHub
#editors
<
2015-08-20
>
erichmond19:08:54

I’m using cursive and loving it, but I need that hot loading libraries into namespace / project.clj / repl feature yesterday!

erichmond19:08:04

any chance we’ll get something like that in cursive?

surreal.analysis19:08:34

@erichmond: Is it possible to use Alembic for that?

surreal.analysis19:08:41

Not sure why it wouldn’t work in Cursive

erichmond19:08:00

Never heard of Alembic, I’ll check it out, thanks!

surreal.analysis19:08:02

Add to your .lein/profiles.clj

surreal.analysis19:08:09

Then in the REPL

surreal.analysis19:08:18

(require ‘[alembic.still])

surreal.analysis19:08:27

And the typical way I use it is (alembic.still/load-project)

surreal.analysis19:08:30

Which reloads your project.clj

benedek19:08:32

that is what we use for this feature in refactor-nrepl

surreal.analysis19:08:48

But you can also test out libraries with distill which takes a single dependency

surreal.analysis19:08:00

As a note - there are some issues when requiring different versions

surreal.analysis19:08:02

This will only get you to the adding new dependencies, not changing versions

cfleming21:08:36

@erichmond: Yes, alembic should work, but I’d like to make that transparent.

danielcompton21:08:34

Yep alembic works well

nberger22:08:33

Any slamhound user around here? Do you get annoying ClassNotFoundException when using dotted aliases like ? I think I have a fix in https://github.com/technomancy/slamhound/pull/87. Comments welcome simple_smile