-
添加如下依赖:
-
勾选Build project automatically:
-
Press ctrf+shift+a:
双击Registry–>勾选"compiler.automake.allow.when.app.running" -
Restart IDEA
起一个springboot服务,当用客户端(浏览器 or postman)调用服务时,新更新的代码就会自动加载到容器,不用手动重启。
添加如下依赖:
勾选Build project automatically:
Press ctrf+shift+a:
双击Registry–>勾选"compiler.automake.allow.when.app.running"
Restart IDEA
起一个springboot服务,当用客户端(浏览器 or postman)调用服务时,新更新的代码就会自动加载到容器,不用手动重启。