First understand the basic concept of spring boot devtools that exists as a reasonable address: https://docs.spring.io/spring-boot/docs/current/reference/html/ Using-boot-devtools.html
Now look at how to apply to the actual development environment to achieve the effect: the front and back-end code changes, no need to manually restart, view the effect, automatic compilation, deployment, automatic page refresh .
1.build.gradle introduction of Devtools jar Package ( if only for front-end development, you do not need to reference the jar package )
2.360 speed, Google Chrome install Livereload plugin
3.Idea Internal Setup File>settings>
4. Modify Idea Registration Value
- In X, press
Shift+Command+A
(in Shift+Ctrl+A
Windows)
- Type "Registry" in the search box that appears, and select the Registry to open it.
- Lookup compiler.automake.allow.when.app.running and enable it.
5. Restart the IDE
Idea how to set spring-boot-devtools what is WYSIWYG