IntelliJ IDEA热部署教程,只要两步!

一、开启idea自动build功能
1、File -> Settings -> Build,Execution,Deployment -> Compiler -> Build project automatically -> 选中

备注:网上好多说是Make project automatically,而我的是Build project automatically,可能是旧版本,我的是2017.3版本。

2、Ctrl+Shift+A -> 输入Registry(然后在下拉板双击Registry,不是Registry...哦!)


3、找到compiler.automake.allow.when.app.running,选中


二、Chrome禁用缓存  
F12(或Ctrl+Shift+J或Ctrl+Shift+I)--> NetWork --> Disable Cache(while DevTools is open) 

posted @ 2019-02-14 20:56  冒牌工程师  阅读(510)  评论(0编辑  收藏  举报