Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Nov 14, 2024
1 parent 8223237 commit d46e56f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wxt/src/core/create-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ import {
export async function createServer(
inlineConfig?: InlineConfig,
): Promise<WxtDevServer> {
await registerWxt('serve', inlineConfig, (wxt) => createServerInternal(wxt));
await registerWxt('serve', inlineConfig, createServerInternal);
return wxt.server!;
}

/**
* Called during WXT singleton registration when we create the server
*/
export async function createServerInternal(
async function createServerInternal(
wxt: Omit<Wxt, 'server'>,
): Promise<WxtDevServer> {
const getServerInfo = (): ServerInfo => {
Expand Down

0 comments on commit d46e56f

Please sign in to comment.