Skip to content

Commit

Permalink
Update logic that is resolve socket url
Browse files Browse the repository at this point in the history
  • Loading branch information
soilSpoon committed Nov 28, 2022
1 parent cc73bd7 commit e5a12a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-plugin-checker/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export function checker(userConfig: UserPluginConfig): Plugin {
const devBase = resolvedConfig.base

// #region
// copied from https://github.dev/vitejs/vite/blob/76bbcd09985f85f7786b7e2e2d5ce177ee7d1916/packages/vite/src/client/client.ts#L25
// copied from https://github.com/vitejs/vite/blob/d76db0cae645beaecd970d95b4819158c5dd568a/packages/vite/src/client/client.ts#LL25
const hmrConfig = isObject(resolvedConfig.server.hmr) ? resolvedConfig.server.hmr : {}
const host = hmrConfig.host || null
const protocol = hmrConfig.protocol || null
Expand Down

0 comments on commit e5a12a7

Please sign in to comment.