|
|
@ -33,13 +33,6 @@ import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
|
|
|
@ConfigurationProperties(prefix = "spring.devtools")
|
|
|
|
@ConfigurationProperties(prefix = "spring.devtools")
|
|
|
|
public class DevToolsProperties {
|
|
|
|
public class DevToolsProperties {
|
|
|
|
|
|
|
|
|
|
|
|
private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/maven/**,"
|
|
|
|
|
|
|
|
+ "META-INF/resources/**,resources/**,static/**,public/**,templates/**";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final long DEFAULT_RESTART_POLL_INTERVAL = 1000;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final long DEFAULT_RESTART_QUIET_PERIOD = 400;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Restart restart = new Restart();
|
|
|
|
private Restart restart = new Restart();
|
|
|
|
|
|
|
|
|
|
|
|
private Livereload livereload = new Livereload();
|
|
|
|
private Livereload livereload = new Livereload();
|
|
|
@ -64,6 +57,14 @@ public class DevToolsProperties {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public static class Restart {
|
|
|
|
public static class Restart {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/maven/**,"
|
|
|
|
|
|
|
|
+ "META-INF/resources/**,resources/**,static/**,public/**,templates/**";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final long DEFAULT_RESTART_POLL_INTERVAL = 1000;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final long DEFAULT_RESTART_QUIET_PERIOD = 400;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Enable automatic restart.
|
|
|
|
* Enable automatic restart.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|