Skip to content

Commit

Permalink
chore: docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Mar 26, 2022
1 parent 661f7d2 commit bf2acd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/api-hmr.md
Expand Up @@ -124,7 +124,7 @@ The following HMR events are dispatched by Vite automatically:
Custom HMR events can also be sent from plugins. See [handleHotUpdate](./api-plugin#handlehotupdate) for more details.
## `hot.send(event, payload)`
## `hot.send({ event, data })`
Send custom events back to Vite's dev server.
Expand Down

0 comments on commit bf2acd9

Please sign in to comment.