astro-ghostcms/.pnpm-store/v3/files/b4/968776e25a72cda4d5ca71ed750...

20 lines
841 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import type * as vite from 'vite';
import type http from 'node:http';
import type { AddressInfo } from 'node:net';
import type { AstroInlineConfig } from '../../@types/astro.js';
export interface DevServer {
address: AddressInfo;
handle: (req: http.IncomingMessage, res: http.ServerResponse<http.IncomingMessage>) => void;
watcher: vite.FSWatcher;
stop(): Promise<void>;
}
/**
* Runs Astros development server. This is a local HTTP server that doesnt bundle assets.
* It uses Hot Module Replacement (HMR) to update your browser as you save changes in your editor.
*
* @experimental The JavaScript API is experimental
*/
export default function dev(inlineConfig: AstroInlineConfig): Promise<DevServer>;