Enable auto reloading in IntelliJ.  In addition to these config settings, “Make Project Automatically” inside Intellij needs to be set to automatically compile your code whenever a file is saved.  It is under the Gradle config options.