I am trying to get a simple Spring-Boot application to work with Spring Loaded and Gradle without any success. I have tried the following:
Using Spring-Boot with the
bootRun
task simply reloads static resources just fine with a simple F5 in the browserIf I use
bootRun
again and change a class through a text editor and the usecompileJava
it doesnt work.If I run it with
IntelliJ Application
make a change in an existing controller and use the IntelliJmake
it works only for existing methods. Doesnt update new methods, change of signatures etc.Using IntelliJ with VM argument:
-javaagent:C:\Users\myuser\.m2\repository\org\springframework\springloaded\1.2.1.RELEASE\springloaded-1.2.1.RELEASE.jar -noverify
Still does nothing.
Ideally, I would like to perform the process through using Gradle only - so I'm IDE independent
Please have a look at the Github project so you can see my sample code: Sample Project
Just perform any changes in the DemoController