Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 909 Bytes

TODO.md

File metadata and controls

9 lines (6 loc) · 909 Bytes
  • DirectoryWatcher probably doesn't handle e.g. renamed directories nicely yet - test! Use keys from https://docs.oracle.com/javase/tutorial/essential/io/examples/WatchDir.java ?

  • Minecraft!

  • Cool Down wait period, avoid too frequent reloads, and discovering a new or changed file before it was fully written: When an event is reported to indicate that a file in a watched directory has been modified then there is no guarantee that the program (or programs) that have modified the file have completed. Care should be taken to coordinate access with other programs that may be updating the file. The FileChannel class defines methods to lock regions of a file against access by other programs.