spring boot 热加载 ftl

 

mac pro上idea工具,springboot框架 配置热启动,这样修改完ftl文件、html文件后,不用重启服务,直接可以刷新显示修改内容。

1、

spring boot 热加载 ftl

点击IntelliJ IDEA,选择preferences,

spring boot 热加载 ftl

2、

点击 Help –> Find Action..,或使用快捷键 Ctrl+Shift+A来打开 Registry…,将其中的compiler.automake.allow.when.app.running勾上。

spring boot 热加载 ftl

 

3、重启idea