[TOC]
IDEA JRebel 插件
前言
我们平时在项目开发过程中经常遇到在项目中只改动了其中一个很小的地方。重新调试的话需要重启整个服务, 这个步骤很耗费时间。
JRebel就是解决这个问题的,你只需要保存改完之后Java文件。无需重启整个服务就可以重新调试你修改过的代码
安装方式
可以去IDEA 插件市场前往下载

激活方法
可以使用邮箱注册实现10天的免费试用。也可以通过网站注册激活

插件设置


插件使用
需要我们在服务中勾选使用Jrebel,使得我们的服务支持JRebel热部署

添加到gitignore
这里需要注意的是只有unversioned 的文件才可以加入到.gitignore

You must have added these files to the repository already... .gitignore is not used when selecting files to commit, it's used for adding only: files listed there are not suggested to be added. But, once they are added, they appear in Local Changes
网友评论