Skip to content

Commit c894ad6

Browse files
authored
Merge pull request #4618 from aguibert/devmode-no-resources-folder
Avoid walking non-existant path when checking for file changes
2 parents 2e0f7cd + 3020709 commit c894ad6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/devmode/src/main/java/io/quarkus/dev/RuntimeUpdatesProcessor.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,9 @@ private Set<String> checkForFileChange() {
298298
continue;
299299
}
300300
Path root = Paths.get(rootPath);
301+
if (!Files.exists(root) || !Files.isReadable(root)) {
302+
continue;
303+
}
301304
Path classesDir = Paths.get(module.getClassesPath());
302305
//copy all modified non hot deployment files over
303306
if (doCopy) {

0 commit comments

Comments
 (0)