notifyListeners() — vite Function Reference
Architecture documentation for the notifyListeners() function in hmr.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD efd2ed23_9225_aef5_6607_d3415a0b5352["notifyListeners()"] 59034bde_6f4e_fe6a_b2ce_a002a0aa10b4["HMRClient"] efd2ed23_9225_aef5_6607_d3415a0b5352 -->|defined in| 59034bde_6f4e_fe6a_b2ce_a002a0aa10b4 d1f1e08a_d62c_ffc8_40e7_039fffb49665["handleMessage()"] d1f1e08a_d62c_ffc8_40e7_039fffb49665 -->|calls| efd2ed23_9225_aef5_6607_d3415a0b5352 8734724b_d91d_59c5_6ae1_9c54c972eea0["invalidate()"] 8734724b_d91d_59c5_6ae1_9c54c972eea0 -->|calls| efd2ed23_9225_aef5_6607_d3415a0b5352 style efd2ed23_9225_aef5_6607_d3415a0b5352 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/shared/hmr.ts lines 187–190
public async notifyListeners<T extends string>(
event: T,
data: InferCustomEventPayload<T>,
): Promise<void>
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does notifyListeners() do?
notifyListeners() is a function in the vite codebase, defined in packages/vite/src/shared/hmr.ts.
Where is notifyListeners() defined?
notifyListeners() is defined in packages/vite/src/shared/hmr.ts at line 187.
What calls notifyListeners()?
notifyListeners() is called by 2 function(s): handleMessage, invalidate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free