idea 热加载

idea热加载

pom.xml

 <build>   
    <plugins>        
        <plugin>            
            <groupId>org.springframework.boot</groupId>    
        <artifactId>spring-boot-maven-plugin</artifactId>                            
        <configuration>
                <executable>true</executable>                
                <fork>true</fork>              
             </configuration>        
        </plugin>    
    </plugins>
 </build>

Ctrl + Shift + A 搜索Registry...

勾选compiler.automake.allow.when.app.running

执行快捷键Ctrl + F9 开启热加载

posted @ 2023-01-14 22:27  攸鱼  阅读(134)  评论(0)    收藏  举报