"Build Project" does not compile

 I have configured Intellij to use the sbt shell for build and import. Since the latest update of Intellij I have not found a way to get it to automatically build when running tests or when I click the "Build Project" button or when I use "Build...Rebuild Project". In order to compile, I have to type test:compile in the sbt shell directly. This had happened in previous versions but I was able to get it working by changing some of the compiler settings. This time I haven't found any way to get Intellij to build the project automatically.

Is there something I can do to get this working?


Does it make any difference if you refresh or re-import the project?


Yes! I did an SBT refresh and now it works. Should have thought of that. Thanks!


Please sign in to leave a comment.