9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-28 19:49:06 +00:00

Hotload fixes

This commit is contained in:
Daniel Mills
2020-11-23 02:38:49 -05:00
parent d6b7a4bdba
commit 58845ae79f
3 changed files with 32 additions and 3 deletions

View File

@@ -16,11 +16,18 @@ public class ReactiveFolder
fw.checkModified();
}
public void checkIgnore()
{
fw = new FolderWatcher(folder);
}
public void check()
{
if(fw.checkModified())
{
fw.checkModified();
hotload.accept(fw.getCreated(), fw.getChanged(), fw.getDeleted());
fw.checkModified();
}
}
}