Skip to content

Instantly share code, notes, and snippets.

@tudouya
Created January 4, 2019 02:23
Show Gist options
  • Save tudouya/7762a5aa341bad8ccec35825235e1e1c to your computer and use it in GitHub Desktop.
Save tudouya/7762a5aa341bad8ccec35825235e1e1c to your computer and use it in GitHub Desktop.
Spring Boot Hot Reload
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.
Second, verify that the option check-box
```
File->Setting –> Build, Execution, Deployment –> Compiler–>Build project automatically
```
is selected.
<!-- hot swapping, disable cache for template, enable live reload -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
https://www.mkyong.com/spring-boot/intellij-idea-spring-boot-template-reload-is-not-working/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment