2025-11-13 13:13:34 -07:00

16 lines
425 B
JavaScript

#!/usr/bin/env node
import '../server/lib/cpu-profile';
export type NextStartOptions = {
port: number;
hostname?: string;
keepAliveTimeout?: number;
};
/**
* Start the Next.js server
*
* @param options The options for the start command
* @param directory The directory to start the server in
*/
declare const nextStart: (options: NextStartOptions, directory?: string) => Promise<void>;
export { nextStart };