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