Spring Boot - application.properties Configuration
Static Resource Caching:
Spring.freemarker.cache = true; // Will do only in Production.

Automatic-UI-refresh:
Default It is enable
Spring.devtools.livereload.enabled = false;
Server Restart:
Spring.devtools.restart.enabled = false;
Using Trigger File:
If you want to control, If any specific file changes happens then only it should restart automatically and your changes should apply.
Spring.devtools.restart.trigger-file = c:/workspace/trigger.txt;
Spring.freemarker.cache = true; // Will do only in Production.

Automatic-UI-refresh:
Default It is enable
Spring.devtools.livereload.enabled = false;
Server Restart:
Spring.devtools.restart.enabled = false;
Using Trigger File:
If you want to control, If any specific file changes happens then only it should restart automatically and your changes should apply.
Spring.devtools.restart.trigger-file = c:/workspace/trigger.txt;
Comments
Post a Comment