Closed eritbh closed 3 years ago
Not actually sure if this addresses #62 or not, but should hopefully make reloads more consistent. This does fix an issue where calling reloadFiles() would remove all EventListeners, even those that weren't loaded via addFile/addDir.
reloadFiles()
EventListener
addFile
addDir
Fixes #62 according to reporter on Discord (https://discord.com/channels/409839835503788033/409840359632404481/832847892514734110) so that's neat
Not actually sure if this addresses #62 or not, but should hopefully make reloads more consistent. This does fix an issue where calling
reloadFiles()
would remove allEventListener
s, even those that weren't loaded viaaddFile
/addDir
.