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

(Feature Request) Add ability to reload views #12

Open
Chiggy-Playz opened this issue Aug 19, 2021 · 1 comment
Open

(Feature Request) Add ability to reload views #12

Chiggy-Playz opened this issue Aug 19, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Chiggy-Playz
Copy link

It would be a nice feature if there was a way to automatically reload views just like cogs are reloaded. I keep all of my views in a single folder, and import them wherever I need them.
I found a way to do this using the importlib library. I reload the file in which the view is present, and then also reload the cog. And it seems to work. Would it possible to make it work?

@robertwayne
Copy link
Owner

I'll take a look this weekend and see what I can do!

@robertwayne robertwayne added the enhancement New feature or request label Mar 27, 2022
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