There are some issues, particularly in the Gradle plugin, which we have identified but not yet managed to fully fix.
Please note that most of them appear primarily on Windows machines.
gradlew cleanLoomBinaries
followed by gradlew idea
to regenerate the JAR file. Again, the JAR file gets flushed prematurely.