|
|
@ -211,7 +211,7 @@ public class LocalDevToolsAutoConfiguration {
|
|
|
|
public void onApplicationEvent(ClassPathChangedEvent event) {
|
|
|
|
public void onApplicationEvent(ClassPathChangedEvent event) {
|
|
|
|
if (event.isRestartRequired()) {
|
|
|
|
if (event.isRestartRequired()) {
|
|
|
|
logger.info(LogMessage.format("Restarting due to %s", event.overview()));
|
|
|
|
logger.info(LogMessage.format("Restarting due to %s", event.overview()));
|
|
|
|
logger.debug(LogMessage.of(() -> "Change set: %s" + event.getChangeSet()));
|
|
|
|
logger.debug(LogMessage.format("Change set: %s", event.getChangeSet()));
|
|
|
|
Restarter.getInstance().restart(new FileWatchingFailureHandler(this.fileSystemWatcherFactory));
|
|
|
|
Restarter.getInstance().restart(new FileWatchingFailureHandler(this.fileSystemWatcherFactory));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|