Classes do not change <p>I have faced with a strange problem. Once I change the <code>.java</code> file - it seems that tests are using still the previous version of that file (<code>.class</code>). </p> <p>From my point of view the class should be removed from <code>.build</code> folder and be recompiled from the new version of the .java file, but this only happens when I manually start build from Gradle. </p> <p>Can I somehow turn on the autorebuild solution for <code>.java</code> files on change? Or can I do this event without gradle? I'm using Intellij Idea.</p>