Skip to main content

createServer

createServer(opts: CreateServerOptions): LightServer#

TODO: coming soon

CreateServerOptions#

interface CreateServerOptions {
youch?: boolean;
requestLogger?: boolean;
}

LightServer#

interface LightServer {
server: Server;
router: any;
reload: () => void;
}