I'm using intellij 13.1.4.
When creating a play 2 project directly from intellij I compile it and it takes around 9 secs. This happens even when compiling a single source.
Is there a known issue or something I should configure to improve compilation process?
I'v been experimenting with scala for some time. I'm new to intellij, play and sbt.
Thank you in advance.
Notes: I opened http://youtrack.jetbrains.com/issue/IDEA-129515 in jetbrains related to this question. I also tried a workaround associated with slowness with java compiler; but no result. This question's body was updated substantially because I got confused initially: I thought it took 2 secs to compile a project generated with idea, when in reallity it was not compiling anything. I tried invalidating caches but got the same result. So, that project is broken.
I have written a very long post about how we have fix the compilation problem in Play Framework with my team.
https://medium.com/@jfcote/the-ultimate-solution-to-play-framework-slow-compilation-53f4fd499df4
To summarize,
playEnhancerEnabled := false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.