We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d08934 commit f7ffb32Copy full SHA for f7ffb32
packages/client/src/main.ts
@@ -3,7 +3,7 @@ import 'floating-vue/dist/style.css'
3
import { getViteClient } from 'vite-hot-client'
4
5
import { isInSeparateWindow } from '@vue/devtools-shared'
6
-import { VueDevToolsVuePlugin, createViteClientRpc, functions } from '@vue/devtools-core'
+import { VueDevToolsVuePlugin, createViteClientRpc, functions, rpc } from '@vue/devtools-core'
7
import { createRpcClient, setViteClientContext } from '@vue/devtools-kit'
8
import { createApp } from 'vue'
9
import type { App as VueApp } from 'vue'
@@ -104,5 +104,6 @@ export function disconnectDevToolsClient() {
104
}
105
106
export function reloadDevToolsClient() {
107
+ rpc.value.initDevToolsServerListener()
108
vueApp?.config?.globalProperties?.$getDevToolsState()
109
0 commit comments