Home / Type/ DevServer Type — astro Architecture

DevServer Type — astro Architecture

Architecture documentation for the DevServer type/interface in dev.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  15c39334_6d59_f72a_3299_bdaf17387a02["DevServer"]
  84715425_98c7_454a_c767_8998ba6815e1["dev.ts"]
  15c39334_6d59_f72a_3299_bdaf17387a02 -->|defined in| 84715425_98c7_454a_c767_8998ba6815e1
  style 15c39334_6d59_f72a_3299_bdaf17387a02 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/dev/dev.ts lines 24–29

export interface DevServer {
	address: AddressInfo;
	handle: (req: http.IncomingMessage, res: http.ServerResponse<http.IncomingMessage>) => void;
	watcher: vite.FSWatcher;
	stop(): Promise<void>;
}

Frequently Asked Questions

What is the DevServer type?
DevServer is a type/interface in the astro codebase, defined in packages/astro/src/core/dev/dev.ts.
Where is DevServer defined?
DevServer is defined in packages/astro/src/core/dev/dev.ts at line 24.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free