1786
|
1 |
#summary Module to automatically load new components when config:reload is done in console |
|
2 |
|
|
3 |
= Introduction = |
|
4 |
|
|
5 |
Currently, module:reload command in console doesn't load new components. This module will automatically load the new components (if any) when the config:reload command is run in the console. |
|
6 |
|
|
7 |
|
|
8 |
= Details = |
|
9 |
|
|
10 |
In order to use the plugin, simply load the plugin by adding "s2s_reload_newcomponent" to the modules enabled list. The plugin requires configuration to be reloaded via console plugin's config:reload() command. |
|
11 |
|
|
12 |
Now, add a new component in the prosody configuration and then run config:reload() command in the console plugin. The new component should become active in prosody at this point and can be used. |
|
13 |
|
|
14 |
= Dependency = |
|
15 |
|
|
16 |
Needs console plugin to reload configuration. |
|
17 |
|
|
18 |
= Compatibility = |
|
19 |
|
|
20 |
|| 0.7 || works || |