Skip to content

[ENHANCEMENTS] Plugin Auto-Reloading Mechanism #653

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

Open
elsherif896 opened this issue May 3, 2025 · 2 comments
Open

[ENHANCEMENTS] Plugin Auto-Reloading Mechanism #653

elsherif896 opened this issue May 3, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@elsherif896
Copy link

Is your feature request related to a problem? Please describe.
Fist of i understand the whole plugin thing is still experimental but, this might be worth to consider, form the point of developing Plugins. Currently while developing Plugins i have to manually start/stop the plugin for it to actually refresh the changes.

Describe the solution you'd like
Maybe add a Plugin auto-reload functionality that checks the plugin file hash for any changes. If the file hash has changed from the previous one start/stop (restart) the plugin automatically.

@elsherif896 elsherif896 added the enhancement New feature or request label May 3, 2025
tobychui added a commit that referenced this issue May 11, 2025
- Added dev mode plugin auto-reload
- Optimized struct in plugin manager options
@tobychui
Copy link
Owner

tobychui commented May 11, 2025

Image

This should be working now. Still if you are on Windows, you might need to stop the plugin first before swaping the binary due to OS limitations. Use -dev=true to enable on-start auto reload when starting zoraxy, or you can find the toggle under the plugin tab.

@elsherif896
Copy link
Author

thank you very much for your work, makes it easier now to work on plugins. (thankfully i use linux so the OS limitation should be no big deal). I'll have to wait for your next release though to actually test/use it.

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