-
Notifications
You must be signed in to change notification settings - Fork 84
Description
Bash should switch to an event based model of refreshing its data. As it is we check modification times on all files in the project's dir for BAIN (the getmtime(True) calls) and we poll the mods inis etc folders for changes. This is performance intensive and results in perceptible lag when switching to the installers tab and when tabbing out and back in to bash. Moreover, in BAIN, changes in the data folder are only scanned on boot due to performance cost - with event based refreshes we would be able to correctly detect changes at whatever moment.
Plus it is inelegant.
Switching to an event based model will however need new dependencies for the python version, probably watchman or watchdog.
Opening this to start investigating, however the code is not yet ready, so:
Blockers: