mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-28 19:49:06 +00:00
Hotload fixes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user