Idea for SpringBoot project development, html page, js modification does not take effect

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

2) Combination key: "Shift+Ctrl+Alt+/", select "Registry", select and tick "compiler.automake.allow.when.app.running" 

Re-run the project to take effect. Some people say it can be used, and some people say it still does not work. This may have something to do with their own environment.

I also encountered this problem. I modified the html page, but it did not take effect. Every time I need to manually Rebuild Project to take effect, I also checked and set Build Projcet automatically.

Later, I found some methods on the Internet. The control+f9 method is effective for me, so I did not try other methods.

There are some methods of others on the Internet, as follows:

1. Modify Registry (this method is also effective for me)

https://blog.csdn.net/banjing_1993/article/details/80860508

 

Guess you like

Origin blog.csdn.net/fygkchina/article/details/109282914