Gradle.
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
}
application.properties
spring.thymeleaf.cache=false
IDEA
- Build Project Automatically
File –> Setting –> Build, Execution, Deployment –> Compiler –> check this
Build project automatically
image
- Intellij Registry
shift + shift
搜索 registry, 打開registry...
image
找到并勾選以下選項(xiàng)
[x] compieler.automake.allow.when.app.running
image
安裝chrome 插件
[圖片上傳失敗...(image-3da59e-1545230302384)]LiveReload