reloadium
reloadium copied to clipboard
[Feature Request] reload reloadium_config.py
Is there a way to reload reloadium_config.py while debugging?
Unfortunately it's currently not possible. What is your use case here?
I want something to happen after I change a certain file. I recreate some objects\ restart parts of the application based on it's state and the changed file, but developing this behavior is also something hot reloading will help with.
Oh, I think you mean reload hooks. It is currently possible by defining before and after reload hook. Please check https://reloadium.io/documentation/config-file And https://reloadium.io/documentation/decorators
the config file is what I am trying to hot reload, I want to hot reload the behavior of hot reloading.
Ok gotcha, the decorators are currently hot reloaded but the config file is not. I'll have a look into this. If it's easy to implement it might go into the next release.