mirror of
https://github.com/yoshiko-pg/difit.git
synced 2026-09-19 05:03:24 +08:00
9e2643cfda
* fix(dev): print shutdown review comments * refactor(dev): only hide internal server url * fix(dev): declare stdout proxy types * fix(dev): hide internal port retry logs * refactor(dev): hide nested script banners * style(dev): use rocket banner for vite startup * fix(dev): disable vite clear screen * fix(dev): preserve repeated startup log lines * fix(dev): keep ctrl-c during compile as clean exit * refactor(dev): move pnpm dev helpers into dev dir * rm dev message * fix(hooks): run checks for scripts changes
12 lines
307 B
TypeScript
12 lines
307 B
TypeScript
export interface CliStdoutProxy {
|
|
push(chunk: string): void;
|
|
flush(): void;
|
|
}
|
|
|
|
export interface CreateCliStdoutProxyOptions {
|
|
onServerUrl: (serverUrl: string) => void;
|
|
onOutput: (output: string) => void;
|
|
}
|
|
|
|
export function createCliStdoutProxy(options: CreateCliStdoutProxyOptions): CliStdoutProxy;
|