Page 1 of 1

Reloading usermodules

Posted: 16 Oct 2017 07:18
by Provo
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

Posted: 16 Oct 2017 11:34
by Provo
Never mind, I found that according to the documentation on apiary, the API supports the following API call:
/v1/modules/reinitialize/{module-id} - stops all instances of module, reloads JS and meta data and starts instances again - useful for module development.
I've yet to try, but I'm sure it works.

Re: Reloading usermodules

Posted: 07 Nov 2017 00:33
by jet11x
The above does work and is very useful. I've found the only occasionally a full restart is required.