Skip to content

Instantly share code, notes, and snippets.

@saichaitanyan
Created February 1, 2019 10:53
Show Gist options
  • Save saichaitanyan/ddf74d8f09e04537bb3cb98f80f7b396 to your computer and use it in GitHub Desktop.
Save saichaitanyan/ddf74d8f09e04537bb3cb98f80f7b396 to your computer and use it in GitHub Desktop.
Intellij IDEA – Spring boot template reload is not working

Spring Boot Dev Tools

Step-1 :

Include the following dependency in the pom.xml file in dependency tag.

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <version>2.1.2.RELEASE</version>
    </dependency>

Step-2 :

In IntelliJ, we need to undergo for another two more steps. That is the not the case with Ecllipse. Press Ctrl + Alt + S and then select Build,Execution,Development section. Under it select Compiler. Then Select the Build project automatically option. Make sure that Click on OK button at the buttom.

Step-3 :

Press Ctrl + SHIFT + A works for windows/linux or Command + Ctrl + A in mac to open the popup window and then type registry. And then search for compiler.automake.allow.when.app.running and select that option and then close the window.

All Set. Now you are able to livereload your application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment