From c73d7317af8c2d5fe5d0b8626f4b109489086d88 Mon Sep 17 00:00:00 2001 From: David Calhoun Date: Sun, 29 Oct 2017 19:06:17 -0500 Subject: [PATCH] Improve onUnload docs (#2409) Add missing reference to `onUnload` invocation during [plugin updates](https://github.com/zeit/hyper/blob/2.0.4/app/plugins.js#L111). --- website/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/website/index.html b/website/index.html index 69bf969c..9acefead 100644 --- a/website/index.html +++ b/website/index.html @@ -287,7 +287,7 @@ #content h3:before { content: '### '; } - + #content h4:before { content: '#### '; } @@ -925,7 +925,8 @@ onUnload Electron -

Invoked when a plugin is removed by the user.

+

Invoked when a plugin is removed by the user and during + plugin updates.

Parameters:

@@ -1242,7 +1243,7 @@

The user can hot-load and hot-reload plugins by pressing Command + R (refresh). Please strive to make plugins that don't require a complete restart of the application to work.

- +

Notice

Plugins affecting the `BrowserWindow` will the effect on new windows after hot-reload.