SpringBoot 在IDEA中实现热部署 (JRebel实用版)

JRebel插件安装步骤:

  1. 在setting - Plugins 里面搜索 JReble

    20200508144912520

激活链接:

System.out.println("https://jrebel.qekang.com/6f540b75-a1f5-4ccc-ae32-d00e12eda632");
System.out.println("[email protected]");

准备条件

File–>Serrings–>Compiler–>找到Build project automatically勾选上,代表自动编译

在这里插入图片描述

快捷键Ctrl,Alt.Shift,/,打开这个页面 在这里插入图片描述

在这里插入图片描述

添加对应项目 热部署

image-20201112203504432

热更新方式

  1. ctrl+shift+f9 快捷键 热部署

  2. 设置idea失去焦点,自动 热部署

    image-20201112203025450

image-20201112203049789