Gradle.
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
}
application.properties
spring.thymeleaf.cache=false
IDEA
- Build Project Automatically
imageFile –> Setting –> Build, Execution, Deployment –> Compiler –> check this
Build project automatically
- Intellij Registry
image
shift + shift
搜索 registry, 打开registry...
image找到并勾选以下选项
[x] compieler.automake.allow.when.app.running
安装chrome 插件
[图片上传失败...(image-3da59e-1545230302384)]LiveReload
网友评论