Springboot 开发常用技术整合--笔记13-修改html等不重启即时生效

pom.xml导入包

        
        
            org.springframework
            springloaded
        


        
        
        
        
        
        
        
        
            org.springframework.boot
            spring-boot-devtools
            
            true
        

设置Build project automatically

File” -> “Settings” -> “Build,Execution,Deplyment” -> “Compiler”,选中打勾 “Build project automatically”

设置automake.allow.when.app.running

组合键:“Shift+Ctrl+Alt+/” ,选择 “Registry” ,选中打勾 “compiler.automake.allow.when.app.running”

在web app运行后,修改html文件,刷新如果没用效果,请用一下build

Springboot 开发常用技术整合--笔记13-修改html等不重启即时生效_第1张图片
image.png

你可能感兴趣的:(Springboot 开发常用技术整合--笔记13-修改html等不重启即时生效)