码迷,mamicode.com
首页 > 其他好文 > 详细

idea 修改代码自动编译

时间:2019-01-14 18:50:07      阅读:284      评论:0      收藏:0      [点我收藏+]

标签:pid   framework   frame   tools   缓存   class   dep   ica   enc   

pom.xml文件修改
1.在dependencies 下添加
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-devtools</artifactId>
    <scope>runtime</scope>
</dependency>

2.在build > plugins > plugin 下添加
    <configuration>
        <fork>true</fork>
    </configuration>

3.file > Build,Execution,Deployment > Compiler
勾选 Build project automatically

4.Crtl+Alt+Shift+/
勾选 compiler.automake.allow.when.app.running

5.浏览器控制台[禁止缓存]
勾选 Network > Disable cache

 



 

idea 修改代码自动编译

标签:pid   framework   frame   tools   缓存   class   dep   ica   enc   

原文地址:https://www.cnblogs.com/Doduo/p/10268191.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!