Reputation: 446
I am building some backend APIs using Spring Boot and Kotlin.
My build tool is Gradle
My IDE is IntelliJ Ultimate Edition on a Windows Machine
I have included the spring boot dev tools into my build.gradle.kts
dependencies as follow:
dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
}
But whenever I make a change while the server is running, it doesn't automatically reflect the changes.
Is there anything else I need to do? Thanks
Upvotes: 1
Views: 962
Reputation: 3965
1 - You need to enable the “Make project automatically” option:
You can find it in Settings
–> Build, Execution, Deployment –> Compiler
2 - Changes in IntelliJ registory:
Go to Cmd+Shift+A (Mac)
or Ctrl+Shift+A (Windows)
-> Registry Enable
compiler.automake.allow.when.app.running
Upvotes: 1
Reputation: 347
Enable “Build project automatically” option in compiler settings.
Upvotes: 1