Skip to content

Commit eef2e0b

Browse files
committed
feat: regenerate components.json on HMR
1 parent 980b1d0 commit eef2e0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/context.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ export class Context {
180180

181181
onUpdate(path: string) {
182182
this.generateDeclaration()
183+
this.generateComponentsJson()
183184

184185
if (!this._server)
185186
return

0 commit comments

Comments
 (0)