Skip to content

Commit a2abd0a

Browse files
committed
fix(typescript-plugin): update component names correctly for the first time
1 parent b580b43 commit a2abd0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/typescript-plugin/lib/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export async function startNamedPipeServer(
102102
connection.on('error', err => console.error('[Vue Named Pipe Server]', err.message));
103103

104104
for (const [fileName, [componentNames, componentProps]] of currentData) {
105-
notify(connection, 'componentNamesUpdated', fileName, Object.keys(componentNames));
105+
notify(connection, 'componentNamesUpdated', fileName, componentNames);
106106

107107
for (const [name, props] of Object.entries(componentProps)) {
108108
notify(connection, 'componentPropsUpdated', fileName, [name, props]);

0 commit comments

Comments
 (0)