Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] reload reloadium_config.py #39

Open
adoxentor opened this issue Sep 7, 2022 · 5 comments
Open

[Feature Request] reload reloadium_config.py #39

adoxentor opened this issue Sep 7, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@adoxentor
Copy link

Is there a way to reload reloadium_config.py while debugging?

@dkrystki
Copy link
Contributor

dkrystki commented Sep 7, 2022

Unfortunately it's currently not possible.
What is your use case here?

@adoxentor
Copy link
Author

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.

@dkrystki
Copy link
Contributor

dkrystki commented Sep 8, 2022

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

@adoxentor
Copy link
Author

the config file is what I am trying to hot reload, I want to hot reload the behavior of hot reloading.

@dkrystki
Copy link
Contributor

dkrystki commented Sep 8, 2022

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.

@dkrystki dkrystki added the enhancement New feature or request label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants