It should be possible to have a Spring Boot app continuously build (i.e. hot reload) by running gradle build --continuous
and gradle bootRun
in sequence.
I'm trying to modify the bootRun task in the gradle build file so that it calls the build task in continuous mode, but I can't seem to add arguments to it.
bootRun.dependsOn build
How can I get that build to run continuously?