onFileChange() — vite Function Reference
Architecture documentation for the onFileChange() function in mixedModuleGraph.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 217003c7_7ef6_1189_ea67_68b8e94a636e["onFileChange()"] c1a5c030_6aae_0cbb_cc67_256559724512["ModuleGraph"] 217003c7_7ef6_1189_ea67_68b8e94a636e -->|defined in| c1a5c030_6aae_0cbb_cc67_256559724512 24ecf2a1_3c09_d451_76f3_9485b4e993f8["_createServer()"] 24ecf2a1_3c09_d451_76f3_9485b4e993f8 -->|calls| 217003c7_7ef6_1189_ea67_68b8e94a636e f0e5b8dc_281e_050f_2de0_2838969a600b["onFileChange()"] 217003c7_7ef6_1189_ea67_68b8e94a636e -->|calls| f0e5b8dc_281e_050f_2de0_2838969a600b style 217003c7_7ef6_1189_ea67_68b8e94a636e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/server/mixedModuleGraph.ts lines 366–369
onFileChange(file: string): void {
this._client.onFileChange(file)
this._ssr.onFileChange(file)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does onFileChange() do?
onFileChange() is a function in the vite codebase, defined in packages/vite/src/node/server/mixedModuleGraph.ts.
Where is onFileChange() defined?
onFileChange() is defined in packages/vite/src/node/server/mixedModuleGraph.ts at line 366.
What does onFileChange() call?
onFileChange() calls 1 function(s): onFileChange.
What calls onFileChange()?
onFileChange() is called by 1 function(s): _createServer.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free