Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Reloader

Index

Constructors

constructor

Properties

commonRootPath

commonRootPath: string

context

context: string

fileMap

fileMap: IFileMap

files

files: string[] = []

filter

filter: (file: string) => boolean

Type declaration

    • (file: string): boolean
    • Parameters

      • file: string

      Returns boolean

Methods

Private del

  • del(modulesToReload: string[]): void
  • Parameters

    • modulesToReload: string[]

    Returns void

Private getKey

Private getParents

reload

  • reload(newFileMap: IFileMap): { errors: IError[]; reloadModules: string[] }

reloadAll

  • reloadAll(filter: (file: string) => boolean): { errors: never[]; reloadModules: string[] }
  • Parameters

    • filter: (file: string) => boolean
        • (file: string): boolean
        • Parameters

          • file: string

          Returns boolean

    Returns { errors: never[]; reloadModules: string[] }

    • errors: never[]
    • reloadModules: string[]

updateFileMap

  • updateFileMap(fileMap: IFileMap): void

Private updateFiles

  • updateFiles(): void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Private method

Generated using TypeDoc