在Windows上的Emacs Cider中自动测试不重新加载文件



我目前正在学习Midje教程:https://github.com/marick/Midje/wiki/A-tutorial-introduction

我使用cider-jack-in加载repl,并且可以成功运行运行测试的(autotest)

但是,当我更改源文件或测试文件(并保存它们)时,repl不会触发重新加载文件并重新运行测试。

如果我从命令行运行REPL,重新加载工作得很好。

我在Windows 7上运行Cider 0.8.1 nREPL 0.2.6 Clojure 1.4.0

是否有其他人有问题,让REPL在Cider中与autotest正确工作,并让它在源/测试文件更改时重新运行测试?

我有同样的问题,并通过更新midje和lein-midje版本来解决它:

.lein/profiles.clj

   {
  :user {:plugins [[lein-midje "3.2"]]}
  :repl {:plugins [
    [refactor-nrepl "2.0.0"]
    [cider/cider-nrepl "0.10.2"]
  ]}
}

project.clj:

(defproject cjtest "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :dependencies [[org.clojure/clojure "1.7.0"]]
  :profiles {:dev {:dependencies [[midje "1.6.3"]]}})

最新更新