0

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.

user2620644
  • 521
  • 1
  • 12
  • 25

1 Answers1

0

i guess you need to invalidate cache . in intellij idea "File/Invalidate Caches"

recursion
  • 354
  • 6
  • 11