martindines
Member
Hi there,
I have not been able to enable the AllowReload configuration option (as specified in https://wiki.sinusbot.com/en:guides:other:configuration#scripts), either with, or without, WatchScripts specified.
My configuration is as follows:
The documentation does not clarify the exact usage of AllowReload.
- What is recognised as a script change to trigger reload?
- Is a WatchScripts definition required?
- Are the file names matched to the <sinusbot_root>/scripts directory?
- Are there any additional steps required to enable Script Reload on change?
Many thanks
Martin
I have not been able to enable the AllowReload configuration option (as specified in https://wiki.sinusbot.com/en:guides:other:configuration#scripts), either with, or without, WatchScripts specified.
My configuration is as follows:
Code:
[Scripts]
AllowReload = true
WatchScripts = ["script-name.js"]
The documentation does not clarify the exact usage of AllowReload.
- What is recognised as a script change to trigger reload?
- Is a WatchScripts definition required?
- Are the file names matched to the <sinusbot_root>/scripts directory?
- Are there any additional steps required to enable Script Reload on change?
Many thanks
Martin