10000 fix: Use `importlib.reload` for autoreload by hoxbro · Pull Request #7953 · holoviz/panel · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Use importlib.reload for autoreload #7953

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

hoxbro
Copy link
Member
@hoxbro hoxbro commented May 30, 2025

I have had a problem when auto-reloading an app as it would error out after the first time. This will reload the module instead of deleting it and having the app import it again.

Cannot recreate with a MRE, but this is the error I see:

image

Edit: does not seem to work...

@hoxbro hoxbro marked this pull request as draft May 30, 2025 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0