简体   繁体   English

如何在使用ritz-nrepl时热重新加载代码

[英]how to hot reload code while using ritz-nrepl

I am using emacs, clojure-mode, and ritz-nrepl. 我正在使用emacs,clojure-mode和ritz-nrepl。

I have set up my code to reload on change, while using swank-clojure using the following - How to Reload files upon save when using swank+leiningen+emacs 我已经设置了我的代码来重新加载更改,同时使用以下内容使用swank-clojure - 如何在使用swank + leiningen + emacs时保存时重新加载文件

How do I adapt it, so that my code is also compiled and reloaded while using ritz-nrepl. 我如何调整它,以便在使用ritz-nrepl时编译和重新加载我的代码。

It should be CcMn if you're using nREPL, but unless you need something specific in ritz, I would recommend nrepl.el because it replaced swank-clojure project. 如果你使用的是nREPL,它应该是CcMn ,但除非你需要ritz中特定的东西,我会推荐nrepl.el,因为它取代了swank-clojure项目。 => https://github.com/kingtim/nrepl.el => https://github.com/kingtim/nrepl.el

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM