Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Oct 24, 2024
1 parent 3e572c2 commit 9f264a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion examples/child-process/src/lib/vite/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class ChildProcessFetchDevEnvironment extends DevEnvironment {
const handler = invokeHandlers[payload.event];
assert(handler);
const result = await handler(payload.data);
console.log({ payload, result })
console.log({ payload, result });
return Response.json(result);
}
return undefined;
Expand Down
7 changes: 0 additions & 7 deletions examples/child-process/src/lib/vite/types.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import type { HotPayload } from "vite";

export interface BridgeClientOptions {
bridgeUrl: string;
root: string;
key: string;
}

export interface InvokePayload {
data: HotPayload;
key: string;
}

0 comments on commit 9f264a2

Please sign in to comment.