From f7c3634287d1a768f6fb113f20730758800e2faf Mon Sep 17 00:00:00 2001 From: Nathan Date: Tue, 1 Dec 2020 02:47:22 -0500 Subject: [PATCH] Support reloading browser views (#16) --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 98744ad..46c7beb 100644 --- a/index.js +++ b/index.js @@ -83,6 +83,10 @@ module.exports = (moduleObject, options) => { } else { for (const window_ of electron.BrowserWindow.getAllWindows()) { window_.webContents.reloadIgnoringCache(); + + for (const view_ of window_.getBrowserViews()) { + view_.webContents.reloadIgnoringCache(); + } } } });