Spring boot dev tools reload without restart

Hello
I have project where I use Spring boot and Gradle. This is web application, and I used description on https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-devtools.html to make changes on website without restart. Unfortunetly this solution is not working, What is wrong? I f anybody have similar problem?

Do you miss to add

bootRun {
    sourceResources sourceSets.main
}

to your build.gradle ?

I added that code block to my build.gradle and Spring Boot Devtools back to work again