diff --git a/packages/shell-chrome/src/devtools/panel.js b/packages/shell-chrome/src/devtools/panel.js index 206daece..54359f38 100644 --- a/packages/shell-chrome/src/devtools/panel.js +++ b/packages/shell-chrome/src/devtools/panel.js @@ -2,9 +2,9 @@ import { init, handleMessage } from './app' function connect() { - injectScript(chrome.runtime.getURL('./backend.js'), () => { - init() + init() + injectScript(chrome.runtime.getURL('./backend.js'), () => { const port = chrome.runtime.connect({ name: '' + chrome.devtools.inspectedWindow.tabId, })