Prevent restart when META-INF/maven/** changes
These files are modified by Eclipse for some reason when you change files like Thymeleaf HTML files. `META-INF/maven/**` has been added to the default exclusion. Closes gh-3295 Closes gh-3297
This commit is contained in:
committed by
Stephane Nicoll
parent
92a6e3188b
commit
487ab1a60a
@@ -29,7 +29,7 @@ import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
||||
@ConfigurationProperties(prefix = "spring.devtools")
|
||||
public class DevToolsProperties {
|
||||
|
||||
private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/resources/**,resources/**,static/**,public/**,templates/**";
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user