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

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

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

试了下,是可以的。

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

IDEA 修改页面不重启

相关文章:

  • 2022-12-23
  • 2021-11-20
  • 2021-08-31
  • 2021-04-13
  • 2021-07-13
  • 2022-01-04
  • 2021-04-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-01
  • 2022-12-23
  • 2021-09-14
  • 2021-09-16
  • 2021-10-02
相关资源
相似解决方案