We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d11711c commit d78d44bCopy full SHA for d78d44b
1 file changed
docs/guide/api-plugin.md
@@ -432,7 +432,6 @@ Vite plugins can also provide hooks that serve Vite-specific purposes. These hoo
432
433
```js
434
handleHotUpdate({ server, modules, timestamp }) {
435
- server.ws.send({ type: 'full-reload' })
436
// Invalidate modules manually
437
const invalidatedModules = new Set()
438
for (const mod of modules) {
@@ -443,6 +442,7 @@ Vite plugins can also provide hooks that serve Vite-specific purposes. These hoo
443
442
true
444
)
445
}
+ server.ws.send({ type: 'full-reload' })
446
return []
447
448
```
0 commit comments