在Springboot项目中,如果改动某个前端文件,例如.js .html
等,刷新页面会发现页面并没有发生变化,这是由于没有启动热部署导致的。
执行以下操作即可打开。
1.点击右上角的项目,然后选择 Edit Configurations...
2.将On 'Update' action
和 On frame deactivation
的操作都改成 Update classes and resources
在Springboot项目中,如果改动某个前端文件,例如.js .html
等,刷新页面会发现页面并没有发生变化,这是由于没有启动热部署导致的。
执行以下操作即可打开。
1.点击右上角的项目,然后选择 Edit Configurations...
2.将On 'Update' action
和 On frame deactivation
的操作都改成 Update classes and resources