sbt recompiles everything, almost every time

My sbt project compiles everything almost always when I change one file. Is there a way to find out, why the incremental build fails?

9. Waiting for source changes... (press enter to interrupt)
[warn] Potentially incompatible versions of dependencies of {file:/home/arne/gitprojects/gameengine/}default-a8a2f5:
[warn]    org.scala-lang: 2.10.1, 2.10.0
[info] Compiling 1 Scala source to /home/arne/gitprojects/gameengine/target/scala-2.10/classes...
[info] Compiling 35 Scala sources to /home/arne/gitprojects/gameengine/target/scala-2.10/classes...

It is pretty annoying, because it takes a minute to compile everything, instead of just a few seconds as it should be.

Answers


This should be fixed Soon(tm) in sbt 13.2 when https://github.com/sbt/sbt/issues/1010 gets resolved. Before that, there is little hope.


Need Your Help

Adding Breakpoints on jsx files in VSCode

debugging visual-studio-code

I have setup a skeleton project for react with web-dev-server and hot reload. I have also created a dev-server.js file to run all this config with node so that I am able to start a debug session from

What happens with TCP packets between two Socket.BeginReceive calls?

c# sockets tcp packets beginreceive

I have a doubt about socket programming. I am developing a TCP packet sniffer. I am using Socket.BeginAccept, Socket.BeginReceive to capture every packet, but when a packet is received I have to pr...