import connect from "gulp-connect"; import { type Config, Platform } from "../../../core/type"; import { Runner } from "../../core/runner"; export class Html5Runner extends Runner { constructor(config: Config, debug?: boolean) { super(config, Platform.HTML5, debug); } call() { return connect.server({ root: this.targetPath, host: "0.0.0.0", port: 3000, fallback: "index.html", }); } } Runner.register(Platform.HTML5, Html5Runner);