Hierarchy

  • Watcher

Properties

close: (() => void)

Type declaration

    • (): void
    • closes the watcher and all underlying file watchers

      Returns void

getAggregatedChanges?: (() => Set<string>)

Type declaration

    • (): Set<string>
    • get current aggregated changes that have not yet send to callback

      Returns Set<string>

getAggregatedRemovals?: (() => Set<string>)

Type declaration

    • (): Set<string>
    • get current aggregated removals that have not yet send to callback

      Returns Set<string>

getContextTimeInfoEntries: (() => Map<string, FileSystemInfoEntry | "ignore">)

Type declaration

getFileTimeInfoEntries: (() => Map<string, FileSystemInfoEntry | "ignore">)

Type declaration

getInfo?: (() => WatcherInfo)

Type declaration

pause: (() => void)

Type declaration

    • (): void
    • closes the watcher, but keeps underlying file watchers alive until the next watch call

      Returns void

Generated using TypeDoc