File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import { createApp, connectApp } from './app'
6
6
import { setAppConnected } from './features/connection'
7
7
import { getBridge } from './features/bridge'
8
8
9
+ export { setAppConnected } from './features/connection'
10
+
9
11
/**
10
12
* Create the main devtools app. Expects to be called with a shell interface
11
13
* which implements a connect method.
Original file line number Diff line number Diff line change 1
1
// this script is called when the VueDevtools panel is activated.
2
2
3
- import { initDevTools } from '@front'
3
+ import { initDevTools , setAppConnected } from '@front'
4
4
import { Bridge } from '@vue-devtools/shared-utils'
5
5
6
6
initDevTools ( {
@@ -21,6 +21,7 @@ initDevTools({
21
21
let disconnected = false
22
22
port . onDisconnect . addListener ( ( ) => {
23
23
disconnected = true
24
+ setAppConnected ( false )
24
25
} )
25
26
26
27
const bridge = new Bridge ( {
You can’t perform that action at this time.
0 commit comments