Re: [sbt] Compile performance problem by SBT and Eclipse with Scala-IDE

52 views
Skip to first unread message

Heiko Seeberger

unread,
Aug 19, 2012, 4:55:25 AM8/19/12
to simple-b...@googlegroups.com
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

Reply all
Reply to author
Forward
0 new messages