Sbt总是在重启sbt后完全重新编译

时间:2017-08-25 07:15:12

标签: scala sbt

[success] Total time: 132 s, completed Aug 25, 2017 3:08:56 PM
> compile
[success] Total time: 0 s, completed Aug 25, 2017 3:09:07 PM
>                                                                                                                                                                                                               
$ sbt
[info] Loading global plugins from /home/jilen/.sbt/0.13/plugins
[info] Loading project definition from /home/jilen/Workspace/wx-web/project
[info] Updating {file:/home/jilen/Workspace/wx-web/project/}wx-web-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Set current project to wx-web (in build file:/home/jilen/Workspace/wx-web/)
> compile
[info] Compiling 574 Scala sources and 3 Java sources to /home/jilen/Workspace/wx-web/target/scala-2.11/classes...

正如日志所说,当我开始sbt时,它会完全重新编译,之前已经编译过。

  • sbt.version 0.13.15
  • scala.version 2.11.11

1 个答案:

答案 0 :(得分:0)

最后,事实证明它是sbt增量编译器的bug