How do I recompile and reload Java source code while `lein repl` is running?

前端 未结 5 1138
[愿得一人]
[愿得一人] 2021-01-31 12:07

I have a Clojure project, and I\'m using leiningen. I\'m also using tools.namespace to reload Clojure code while running a REPL. If I want to include Java source in the project,

5条回答
  •  故里飘歌
    2021-01-31 12:21

    Nowadays (2016->) the better answer is to use Virgil. It watches and recompiles all Java code in your leiningen project automatically in the background, as opposed to Vinyasa's approach of invoking reimport.

提交回复
热议问题