feat(hotreload): add pre-compilation
this feature will detect syntax errors before reloading a cog and cancel the cog reload if it detects one. DOES NOT detect runtime/logic errors, only syntax errors.
This commit is contained in:
parent
7c2ff7681c
commit
3eeb2f90a6
2 changed files with 47 additions and 5 deletions
|
@ -13,6 +13,10 @@ This is useful for development, as it allows you to make changes to your cogs an
|
|||
|
||||
## Commands
|
||||
|
||||
### hotreload compile
|
||||
|
||||
Determines if the cog should try to compile a modified Python file before reloading the associated cog. Useful for catching syntax errors. Disabled by default.
|
||||
|
||||
### hotreload notifychannel
|
||||
|
||||
Set the channel where hotreload will send notifications when a cog is reloaded.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue