From 6025184f5d8154ad3315eb0a6a7aaf91c170b733 Mon Sep 17 00:00:00 2001 From: Vitaly Gordon Date: Tue, 18 Sep 2018 20:06:44 +0300 Subject: [PATCH] A comment referencing the issue #5 --- hot-reload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hot-reload.js b/hot-reload.js index 1563ed9..de5e58c 100644 --- a/hot-reload.js +++ b/hot-reload.js @@ -19,7 +19,7 @@ const timestampForFilesInDirectory = dir => const reload = () => { - chrome.tabs.query ({ active: true, currentWindow: true }, tabs => { + chrome.tabs.query ({ active: true, currentWindow: true }, tabs => { // NB: see https://github.com/xpl/crx-hotreload/issues/5 if (tabs[0]) { chrome.tabs.reload (tabs[0].id) }