Intellij does not seem to be doing basic hot code swap on my installation.
For this code:
public class MainTest { public void method1() {
I wanted hotswap to automatically run every time I saved a Java file. None of the other answers did this so I just:
Action: Hotswap
Run -> Reload Changed Classes