Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WatchHost

Host that has watch functionality used in --watch mode

Hierarchy

Index

Methods

Optional clearTimeout

  • clearTimeout(timeoutId: any): void
  • If provided, will be used to reset existing delayed compilation

    Parameters

    • timeoutId: any

    Returns void

Optional onWatchStatusChange

Optional setTimeout

  • setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): any
  • If provided, will be used to set delayed compilation, so that multiple changes in short span are compiled together

    Parameters

    • callback: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    • ms: number
    • Rest ...args: any[]

    Returns any

watchDirectory

watchFile

Generated using TypeDoc