Skip to content

Commit 8318ede

Browse files
fixed filewatcher
1 parent 9e5ee6c commit 8318ede

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/lvp/FileWatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private Stream<Path> getFolderTree() {
7474
.flatMap(root -> {
7575
try {
7676
return Files.find(root, Integer.MAX_VALUE,
77-
(_, attrs) -> attrs.isDirectory()).filter(p -> !p.toString().startsWith("."));
77+
(_, attrs) -> attrs.isDirectory()).filter(p -> !p.toString().startsWith(".git"));
7878
} catch (IOException e) {
7979
Logger.logError("Error walking directory: " + root.toAbsolutePath(), e);
8080
return Stream.empty();

0 commit comments

Comments
 (0)