zents-cli
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
27 lines (26 loc) • 1.14 kB
TypeScript
/// <reference types="node" />
import { AbstractCommand } from '../classes/AbstractCommand';
import browserSync from 'browser-sync';
interface SyncPortFlags {
syncPortFlag: number;
syncUiPortFlag: number;
}
export default class Dev extends AbstractCommand {
static description: string;
static examples: string[];
static flags: {
tsc: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
server: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
sync: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
'sync-port': import("@oclif/parser/lib/flags").IOptionFlag<number>;
'sync-ui-port': import("@oclif/parser/lib/flags").IOptionFlag<number>;
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
};
private zenConfig;
run(): Promise<void>;
protected tscWatch(): void;
protected startDevServer(activeBrowserSync: boolean, syncPortFlags: SyncPortFlags): Promise<void>;
protected startBrowserSync(ports: SyncPortFlags): Promise<browserSync.BrowserSyncInstance>;
protected getLogMessage(data: Buffer): string;
}
export {};