Skip to content

Commit

Permalink
Merge pull request spring-projects#3938 from candrews/patch-2
Browse files Browse the repository at this point in the history
* pr/3938:
  Add `git.properties` to default devtools excludes
  • Loading branch information
philwebb committed Sep 24, 2015
2 parents a63ec53 + 84da5a2 commit d0dbe93
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@ public static class Restart {

private static final String DEFAULT_RESTART_EXCLUDES = "META-INF/maven/**,"
+ "META-INF/resources/**,resources/**,static/**,public/**,templates/**,"
+ "**/*Test.class,**/*Tests.class";
+ "**/*Test.class,**/*Tests.class,git.properties";

private static final long DEFAULT_RESTART_POLL_INTERVAL = 1000;

Original file line number Diff line number Diff line change
@@ -38,7 +38,8 @@ public void additionalExcludeKeepsDefaults() {
restart.getAllExclude(),
arrayContaining("META-INF/maven/**", "META-INF/resources/**",
"resources/**", "static/**", "public/**", "templates/**",
"**/*Test.class", "**/*Tests.class", "foo/**", "bar/**"));
"**/*Test.class", "**/*Tests.class", "git.properties", "foo/**",
"bar/**"));
}

@Test

0 comments on commit d0dbe93

Please sign in to comment.