Reloading usermodules
Reloading usermodules
When working on a usermodule, it's frequently necessary to reload the module. Is there a better and easier way of doing that than restarting the whole z-way-server service?
Re: Reloading usermodules
Never mind, I found that according to the documentation on apiary, the API supports the following API call:
I've yet to try, but I'm sure it works./v1/modules/reinitialize/{module-id} - stops all instances of module, reloads JS and meta data and starts instances again - useful for module development.
Re: Reloading usermodules
The above does work and is very useful. I've found the only occasionally a full restart is required.