import static java.nio.file.StandardWatchEventKinds.ENTRY_MODIFY;\r
import static java.nio.file.StandardWatchEventKinds.OVERFLOW;\r
\r
+import java.io.FileNotFoundException;\r
import java.io.IOException;\r
import java.io.RandomAccessFile;\r
import java.nio.file.FileSystem;\r
}\r
\r
FileImportService.performFileImport(newPath, Optional.of(t -> {\r
- if (t instanceof FileSystemException) {\r
+ if ((t instanceof FileSystemException) || (t instanceof FileNotFoundException)) {\r
try {\r
syncPath(newPath);\r
} catch (IOException e) {\r