aboutsummaryrefslogtreecommitdiff
path: root/docs/2_PLUGINS.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/2_PLUGINS.md')
-rw-r--r--docs/2_PLUGINS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/2_PLUGINS.md b/docs/2_PLUGINS.md
index 705ea89..7b5e3e1 100644
--- a/docs/2_PLUGINS.md
+++ b/docs/2_PLUGINS.md
@@ -26,6 +26,10 @@ export default definePlugin({
name: "Your Name",
},
],
+ // Delete `patches` if you are not using code patches, as it will make
+ // your plugin require restarts, and your stop() method will not be
+ // invoked at all. The presence of the key in the object alone is
+ // enough to trigger this behavior, even if the value is an empty array.
patches: [],
// Delete these two below if you are only using code patches
start() {},