[Kotlin Spring boot] Enable automatically recompile for Spring boot project with devtool

Install devtool:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <scope>runtime</scope>
    <optional>true</optional>
</dependency>

 

Even we install devtool, in Intellij, it won'g automacitlly recompile when we change something, to enable this, modify setting:

Enable "Build project automaticlly".

 

Then open "Registry":

Enable "compiler.automake.allow.when.app.running"

posted @ 2020-11-04 01:40  Zhentiw  阅读(101)  评论(0)    收藏  举报