I believe most of the students who use IntelliJ will encounter this problem, even if the project uses Spring-boot-devtools, modified the class or HTML, JS, etc., idea will not automatically restart, do not have to manually make or restart,
The same is not the case with a hot deployment. This happens, not your configuration problem, believe yourself, the hot deployment of the few settings is very simple, the root cause is because IntelliJ Ieda and Eclipse, Eclipse set the automatic compilation of
, the modified class is automatically compiled, and idea is automatically compiled without run or debug (provided you have set up Auto-compile).
So much nonsense, how to solve it? Please be patient and look down.
First, the idea setting must be ticked inside.
Then shift+ctrl+alt+/, choose Registry
After entering, find the option as shown, tick
OK, restart the project, then change the contents of the class, and idea will automatically go to make.
http://blog.csdn.net/wjc475869/article/details/52442484
Intellij idea using Spring-boot-devtools Invalid solution