Skip to content

Commit 0d7ee8a

Browse files
committed
Fix default value of restarter meta-data
Closes spring-projectsgh-3773
1 parent 8067a53 commit 0d7ee8a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/DevToolsProperties.java

+8-7
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@
3333
@ConfigurationProperties(prefix = "spring.devtools")
3434
public class DevToolsProperties {
3535

36-
private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/maven/**,"
37-
+ "META-INF/resources/**,resources/**,static/**,public/**,templates/**";
38-
39-
private static final long DEFAULT_RESTART_POLL_INTERVAL = 1000;
40-
41-
private static final long DEFAULT_RESTART_QUIET_PERIOD = 400;
42-
4336
private Restart restart = new Restart();
4437

4538
private Livereload livereload = new Livereload();
@@ -64,6 +57,14 @@ public RemoteDevToolsProperties getRemote() {
6457
*/
6558
public static class Restart {
6659

60+
private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/maven/**,"
61+
+ "META-INF/resources/**,resources/**,static/**,public/**,templates/**";
62+
63+
private static final long DEFAULT_RESTART_POLL_INTERVAL = 1000;
64+
65+
private static final long DEFAULT_RESTART_QUIET_PERIOD = 400;
66+
67+
6768
/**
6869
* Enable automatic restart.
6970
*/

0 commit comments

Comments
 (0)