Skip to content

Commit 0e32bde

Browse files
committed
fix(analyze-build): state update
1 parent ff850b1 commit 0e32bde

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/devtools/src/server-rpc/analyze-build.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export function setupAnalyzeBuildRPC({ nuxt, refresh }: NuxtDevtoolsServerContex
3232
refresh('getAnalyzeBuildInfo')
3333

3434
promise = result.getProcess()
35-
.then(() => readBuildInfo())
35+
.then(() => {
36+
refresh('getAnalyzeBuildInfo')
37+
return readBuildInfo()
38+
})
3639
.finally(() => {
3740
promise = undefined
3841
initalized = undefined

0 commit comments

Comments
 (0)