Fork me on GitHub
#ring
<
2017-02-20
>
jumar06:02:08

is there a way (middleware?) to automatically reload webapp without a restart when I add a new depedency to project.clj?

jumar06:02:27

so far, I have an impression that I need to restart webapp every time I add new dependency

jumar06:02:34

btw. I'm using luminus template right now.

tgk06:02:35

@jumar: I don’t think that exists. It would be a pretty heavy-weight operation where the VM is shut down and up again to add the dependency, or a pretty magical piece of code to load the jar file into the classpath on runtime.

jumar06:02:09

I believe cider refactor supports this - but I don't know what it's doing under the hood

tgk06:02:16

Interesting 🙂 No, that would be worth a study.

jumar06:02:11

I mean cljr-add-project-dependency - I'll probably look into it in the near future

jumar06:02:19

nevertheless, thanks for info