感觉更新和生成日志文件较多,不过可以配置或者更改代码更新时间
关注我的另一篇文章
idea如何安装热部署Jrebel
解决中文乱码
-Dfile.encoding=UTF-8
Allow auto-make to start even if developed application is currently running. Note that automatically started make may eventually delete some classes that are required by the application.
org.springframework.boot spring-boot-devtools runtime true
在application.properties 里添加配置
#热部署生效
spring.devtools.restart.enabled: true
#设置重启的目录
spring.devtools.restart.additional-paths: src/main/java
# 开启模板缓存(默认值: true )
spring.thymeleaf.cache=false //更改为false
下一篇: 《认识立体图形》的教学设计