DevServerController Type — astro Architecture
Architecture documentation for the DevServerController type/interface in controller.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD c83d1515_ee3f_a1ad_6cbe_ee4a46abe318["DevServerController"] 417f2af6_8a2f_2b06_192e_b74a580ea934["controller.ts"] c83d1515_ee3f_a1ad_6cbe_ee4a46abe318 -->|defined in| 417f2af6_8a2f_2b06_192e_b74a580ea934 style c83d1515_ee3f_a1ad_6cbe_ee4a46abe318 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/vite-plugin-astro-server/controller.ts lines 13–17
export interface DevServerController {
state: ServerState;
onFileChange: LoaderEvents['file-change'];
onHMRError: LoaderEvents['hmr-error'];
}
Source
Frequently Asked Questions
What is the DevServerController type?
DevServerController is a type/interface in the astro codebase, defined in packages/astro/src/vite-plugin-astro-server/controller.ts.
Where is DevServerController defined?
DevServerController is defined in packages/astro/src/vite-plugin-astro-server/controller.ts at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free