Background: I have a gradle project, and I use jettyRun with success. I want Jetty to pick up code changes immediately without requiring a server bounce. Gradle supports hot deploy, and I understand that all I need to do is turn on "scanning", but I am not sure exactly what I need to do. Here's what I tried:
jettyRun {
httpPort = 8989
reload = 'automatic'
scanIntervalSeconds = 2
daemon = false
}
Thanks.
That's how it should work. Remember that the jetty plugin picks up the resources from the 'build' folder and not the from the src folder.
cheers,
René
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With