從網上看到的解決方案,做一下備忘:
spring boot項目中遇到jrebel類需要手動編譯才會觸發熱部署的問題(spring boot devtools一樣的問題)
1、ctl + shift + option + /
2、registry
3、compiler.automake.allow.when.app.running 勾選
英文:Allow auto-make to start even if developed application is currently running. Note that automatically started make may eventually delete some classes that are required by the application.
中文:允許自動編譯,即使開發應用程序當前正在運行。注意自動啟動最終可能會刪除一些應用程序所需的類。
-----------
下面是從自己寫的簡單文檔拷貝的
1、找到對應的快捷鍵,鍵入
2、在彈出的窗口選擇第一個,registry
3、找到下列的選項並勾選