Skip to content

Intellj

Eric Muller edited this page Jun 29, 2022 · 5 revisions

Auto-reload-with-spring-boot

https://stackoverflow.com/questions/33349456/how-to-make-auto-reload-with-spring-boot-on-idea-intellij

  1. Add maven dependencies
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <optional>true</optional>
</dependency>
  1. in intellj Setting, check Build project automatically

Second, verify that the option check-box File->Setting –> Build, Execution, Deployment –> Compiler–>Build project automatically is selected.

Last, press SHIFT+CTRL+A for Linux/Windows users or Command+SHIFT+A for Mac users, then type registry in the opened pop-up window. Scroll down to Registry... using the down arrow key and hit ENTER on Registry.... In the Registry window verify the option compiler.automake.allow.when.app.running is checked.

  1. in intellj 2020 Settings, check compiler.automake.allow.when.app.running

shift + command + A check compiler.automake.allow.when.app.running

Clone this wiki locally