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.
vite:afterUpdate
1 parent b57e183 commit 9176246Copy full SHA for 9176246
docs/guide/api-hmr.md
@@ -145,6 +145,7 @@ Listen to an HMR event.
145
The following HMR events are dispatched by Vite automatically:
146
147
- `'vite:beforeUpdate'` when an update is about to be applied (e.g. a module will be replaced)
148
+- `'vite:afterUpdate'` when an update has just been applied (e.g. a module has been replaced)
149
- `'vite:beforeFullReload'` when a full reload is about to occur
150
- `'vite:beforePrune'` when modules that are no longer needed are about to be pruned
151
- `'vite:invalidate'` when a module is invalidated with `import.meta.hot.invalidate()`
0 commit comments