- Add
spring-boot-devtoolstopom.xml:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
- Enable
auto-makein IntelliJ underAdvanced Settings->Compiler:
