• Dave Syer's avatar
    Stop file watcher as soon as a change is detected · b47af199
    Dave Syer authored
    The FileWatcher sometimes generates multiple events for a single change
    and if there is a slow shutdown hook the second one can come in before
    the context is closed, leaving it in a tricky state. This change
    attempts to stop the file watcher as soon as it detects a change
    (the stop() method is called in the listener, which normally happens in
    the same thread as the scan).
    
    Fixes gh-3097
    b47af199
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...