On Aug 18, 2012, at 4:05 PM, Samuel <
s...@samuel.pro> wrote:
> My Eclipse project generated by sbteclipse-plugin.
>
> The source code file will be compiled twice when I edit it by Eclipse:
> 1. Eclipse will compile it.
> 2. SBT will compile it again if i type "compile" command or in "~" mode ("Waiting for source changes...").
>
> For some big code it will take very long time.
>
> How can i prevent this problem?
Simply by not using ~compile.
On the other hand, both compilations should happen in parallel, therefore it shouldn't be an issue.
Heiko