We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd like to trigger specific action after reload, the hook works in the main file but not in the module https://github.com/buganini/PUI/blob/main/examples/generic_hotreload.py#L22
Is there a way to register hook from a module? If comment is not available in module, maybe an empty decorator function with special name? like
try: def reloadium__after_reload(f): return f @reloadium__after_reload def after_reload(actions): PUIView.reload() except: pass
or just
try: import reloadium reloadium.register_after_reload(lambda actions: PUIView.reload()) except: pass
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'd like to trigger specific action after reload, the hook works in the main file but not in the module
https://github.com/buganini/PUI/blob/main/examples/generic_hotreload.py#L22
Is there a way to register hook from a module? If comment is not available in module, maybe an empty decorator function with special name? like
or just
The text was updated successfully, but these errors were encountered: