Skip to content

Commit

Permalink
#25 - Add file change detection using file length
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Dec 15, 2021
1 parent 0f6c21a commit 48359ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/avaje/config/FileWatch.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ private static class Entry {
Entry(File file) {
this.file = file;
this.lastMod = file.lastModified();
this.lastLength = file.length();
this.yaml = isYaml(file.getName());
}

Expand Down

0 comments on commit 48359ad

Please sign in to comment.