We have several Play 2 applications and modules and I'm having trouble integrating IntelliJ IDEA 13 into my development process. I have an empty project based on the common parent of the apps and I have imported each app as a module using the import existing SBT project option.
My problem is that every time I launch the project, IntelliJ causes SBT to completely rebuild all 9 modules at the same time. Since they all depend on one sbt.lock file being available, it's usually the case that 8 of the apps are waiting at any one time, and it takes ~15 minutes for the refreshing to finish. As it spawns an sbt process for each module, my VM's 5GB of RAM and 5GB of swap space are entirely filled, causing further slowdown.
This is completely unacceptable. I'm going back to Eclipse if I can't solve this problem, event if IntelliJ IDEA is better suited to my development otherwise.