Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WatchCommand

Hierarchy

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

Properties

logger

logger: LoggerInstance

options

Methods

getDistributionPath

  • getDistributionPath(): Promise<string>

getEntrypoint

  • getEntrypoint(__namedParameters: object): Promise<string>

Protected load

  • load(relativePath: string, options?: ServerOptions): Promise<Server>
  • Loads a new module from its relative path to cwd and initialize its instance.

    Parameters

    • relativePath: string
    • Optional options: ServerOptions

    Returns Promise<Server>

onProgram

  • onProgram(yargs: Argv): Promise<any>

run

  • run(__namedParameters: object): Promise<void>

Object literals

command

command: object

description

description: string = "Starts the development server with live reload"

syntax

syntax: string = "watch [entrypoint]"

builder

  • builder(yargs: any): any

Generated using TypeDoc