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

feat: add module enabled setting, useful when testing #446

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

BenDol
Copy link
Collaborator

@BenDol BenDol commented Mar 1, 2023

Description

Add module enabled setting, useful when testing

@BenDol
Copy link
Collaborator Author

BenDol commented Mar 1, 2023

This feature is possibly not as useful for this version of otclient, my lua sources don't use the autoload feature but it was pointed out to me that you can just disable autoload if you do. Since I don't use autoload in my sources, having this means I can disable modules for testing when I need to without removing them from the load list.

@mehah
Copy link
Owner

mehah commented Mar 1, 2023

This feature is possibly not as useful for this version of otclient, my lua sources don't use the autoload feature but it was pointed out to me that you can just disable autoload if you do. Since I don't use autoload in my sources, having this means I can disable modules for testing when I need to without removing them from the load list.

no problem, but as you were told, the project has autoreload which you can enable here

AUTO_RELOAD_MODULE = false
, it only reloads the module you modified.

@mehah mehah merged commit 191bb2a into mehah:main Mar 1, 2023
dudantas added a commit that referenced this pull request Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants