How do I enable hot redeploy using the Gradle Jetty plugin, similar to the Maven Jetty plugin?
The documentation page (http://gradle.org/docs/current/dsl/org.gradle.api.plugins.jetty.JettyRun.html) goes on at length that this is possible:
“Once started, the web container can be configured to run continuously, scanning for changes in the project and automatically performing a hot redeploy when necessary. This allows the developer to concentrate on coding changes to the project using their IDE of choice and have those changes immediately and transparently reflected in the running web container, eliminating development time that is wasted on rebuilding, reassembling and redeploying.”
I’ve seen miscellaneous references to a reload property (set to ‘automatic’ or ‘manual’) and a few to a scanInterval property, but I can’t seem to make it work.
Thanks in advance!