FFDec debug menu - create new swf fix

This commit is contained in:
Jindra Petřík
2021-03-05 21:22:55 +01:00
parent ed4af6e96e
commit 1dda4b9017
2 changed files with 4 additions and 1 deletions
@@ -1345,6 +1345,9 @@ public class Main {
if (watcher != null) {
try {
File dir = new File(fileName).getParentFile();
if (dir == null) {
continue;
}
if (!watchedDirectories.containsValue(dir)) {
WatchKey key = dir.toPath().register(watcher, StandardWatchEventKinds.ENTRY_MODIFY);
watchedDirectories.put(key, dir);