IDEA 修改页面不重启

最近看ruoyi源码,跑项目查看的时候,修改个前端页面就必须重启,很麻烦。网上找到如下方式

  “File” -> “Settings” -> “Build,Execution,Deplyment” -> “Compiler”,选中打勾 “Build project automatically” 。

  组合键:“Shift+Ctrl+Alt+/” ,选择 “Registry” ,选中打勾 “compiler.automake.allow.when.app.running”。

试了下,是可以的。

有时候又不行了,针对springboot的项目,在启动配置项里可以指定“更新策略”,如下图所示。

posted @ 2019-05-28 08:29  normalpers  阅读(6402)  评论(0编辑  收藏  举报