Skip to content

Commit 721dda8

Browse files
committed
fix: improve rpc import message, close #528
1 parent ff0c021 commit 721dda8

File tree

1 file changed

+4
-4
lines changed
  • packages/devtools/client/composables

1 file changed

+4
-4
lines changed

packages/devtools/client/composables/rpc.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ async function connectVite() {
4747
base += '/'
4848
const current = window.location.href.replace(/\/__nuxt_devtools__\/client\/.*$/, '/')
4949
const hot = await tryCreateHotContext(undefined, Array.from(new Set([
50-
current,
51-
`${current}${buildAssetsDir}/`,
52-
`${current}_nuxt/`,
53-
base,
5450
`${base}${buildAssetsDir}/`,
5551
`${base}_nuxt/`,
52+
base,
53+
`${current}${buildAssetsDir}/`,
54+
`${current}_nuxt/`,
55+
current,
5656
])))
5757

5858
if (!hot) {

0 commit comments

Comments
 (0)