@antdevx/vite-plugin-hmr-sync
Version:
A Vite plugin for synchronizing HMR across multiple workspaces in a monorepo setup.
19 lines • 621 B
TypeScript
import { ChildProcess } from 'node:child_process';
import { IStartServerOptions } from '../interface/build.interface';
/**
* Starts the build process using the specified build command.
*
* @export
* @param {IStartServerOptions} options
* @return {*}
*/
export declare function startBuild(options: IStartServerOptions): Promise<unknown>;
/**
* Starts the server using the specified options.
*
* @export
* @param {IStartServerOptions} options
* @return {*} {Promise<ChildProcess>}
*/
export declare function startServer(options: IStartServerOptions): Promise<ChildProcess>;
//# sourceMappingURL=server.d.ts.map