From 25f74cbaef9a2e5e3a0476fa526d3c3e47e27307 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 5 Jun 2015 12:56:03 -0700 Subject: [PATCH] Clear caches on initial restart Tweak `Restarter` to clear caches on the initial restart. See gh-3082 --- .../org/springframework/boot/devtools/restart/Restarter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java index d5829785e3..5894966d15 100644 --- a/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java +++ b/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/Restarter.java @@ -157,6 +157,7 @@ public class Restarter { @Override public Void call() throws Exception { start(); + cleanupCaches(); return null; }