您可以将其添加到 build.sbt 中以查看监视了哪些文件:
watchSources ~= { files =>
println(files.mkString("\n")+"\n\n\n")
files//here you can add files or filter out
}
Run Code Online (Sandbox Code Playgroud)
它可能会帮助您测试特定的测试类:ins sbt(交互模式):
~test-only full.path.test.ClassName
Run Code Online (Sandbox Code Playgroud)
要跟踪一般文件更改,您可以使用Java 7 WatchService或 Apache VFS for Java 6。
| 归档时间: |
|
| 查看次数: |
707 次 |
| 最近记录: |