-
-
Notifications
You must be signed in to change notification settings - Fork 61
Notification After Modifying .py File: xx Has Been Modified but Not Loaded Yet. Hot Reloading Not Needed. #161
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
Comments
I am using reloadium on the zhenxun_bot project, which is a chatbot developed based on the nonebot2 framework. After testing, I found that the "xx Has Been Modified but Not Loaded Yet." message appears mainly in the plugins module. All other modules can be reloaded properly, while the loading method for plugins is as follows:
The loading of plugins is completed in the robot's entry file and needs to be done after framework initialization and before running. |
It doesn't work only in the |
Could you provide a reproducer (minimal code that reproduces the issue). |
The issue arises with the
|
I've made sure that this file has been successfully loaded. I added a print statement at the very beginning of the file, and it outputs correctly when the program starts. Additionally, when calling this function in debug mode, it successfully locates the function.
The text was updated successfully, but these errors were encountered: