I’m using jettyRun for running my simple spring application. I wanted to enable hot swapping with Intellij debuger, but looks like jetty doesn’t catch the changes. On http://docs.codehaus.org/display/GRADLE/Gradle+Jetty+Plugin and http://wiki.gradle.org/display/GRADLE/Gradle+Jetty+Plugin I seen that it should work with:
jettyRun.scanIntervalSeconds=1
On the other hand, there is some inconsistency. Here this parameter is not listed: http://www.gradle.org/jetty_plugin.
Anyway, is there any way to enable hot swapping with jetty and gradle?