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

2023-02-18,,,,

一、开启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)

IntelliJ IDEA部署教程,只要两步!的相关教程结束。

《IntelliJ IDEA热部署教程,只要两步!.doc》

下载本文的Word格式文档,以方便收藏与打印。