Created
January 4, 2019 02:23
-
-
Save tudouya/7762a5aa341bad8ccec35825235e1e1c to your computer and use it in GitHub Desktop.
Spring Boot Hot Reload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Second, verify that the option check-box | |
``` | |
File->Setting –> Build, Execution, Deployment –> Compiler–>Build project automatically | |
``` | |
is selected. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- hot swapping, disable cache for template, enable live reload --> | |
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-devtools</artifactId> | |
<optional>true</optional> | |
</dependency> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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