How to enable Intellij hot code swap

Intellij does not seem to be doing basic hot code swap on my installation. For this code: public class MainTest { public void method1() { System.out.println("Breakpoint here"); } ...