Skip to content

Commit

Permalink
style fix for #16
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalik Gordon committed Dec 6, 2020
1 parent 354b5e2 commit d24dff1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions hot-reload.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@ const reload = () => {
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) }
{
setTimeout(function () {

chrome.runtime.reload ()
}, 500)
}
setTimeout(() => { chrome.runtime.reload () }, 500)
})
}

Expand Down

0 comments on commit d24dff1

Please sign in to comment.