使用clojure nrepl自动重新加载类
nrepl的Python项目详细描述
使用nREPL自动重新加载类。
快速启动
通过pip安装nrepl:
$ pip install nrepl
开始监视clojure文件,使用watch命令运行nrep
$ nrepl watch -p 59258 -w /path/to/project Start watching /home/shonenada/Projects/clojure/src Detected changes of /home/shonenada/Projects/clojure/src/route.clj, reloading
(或)启动clojure项目(lein run)并查看clojure文件:
$ nrepl run -p 59258 -w /path/to/project [lein]: Compiling 1 source files... [lein]: Start server on 8080 [nrepl]: Start watching /home/shonenada/Projects/clojure/src [nrepl]: Detected changes of /home/shonenada/Projects/clojure/src/route.clj, reloading