Skip to content

Commit

Permalink
fix: bindCLIShortcuts to proper server
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Nov 27, 2023
1 parent ef403c0 commit 1ab9596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ async function restartServer(server: ViteDevServer) {

if (shortcutsOptions) {
shortcutsOptions.print = false
bindCLIShortcuts(newServer, shortcutsOptions)
bindCLIShortcuts(server, shortcutsOptions)
}
}

Expand Down

0 comments on commit 1ab9596

Please sign in to comment.