openhab-scripters / openhab-helper-libraries

Scripts and modules for use with openHAB
Eclipse Public License 1.0
88 stars 70 forks source link

[utils] Add a function to reload all modules #134

Open 5iver opened 5 years ago

5iver commented 5 years ago

Is your feature request related to a problem? Please describe. Reloading modules can be tricky, and it can be confusing for new users of the libraries. Modules need to be reloaded when testing changes to them.

Describe the solution you'd like Add core.utils.reload_modules, which will reload all modules.

mjcumming commented 5 years ago

Great idea. If the core reloads does that mean all personal modules reload?

5iver commented 5 years ago

I haven't dug into this, but I think it will be possible to reload all modules. I'll remove the reference to 'core modules'.