@servicenow/sdk - v4.4.1
    Preparing search index...

    Interface WatchOfFilesAndCompilerOptions<T>

    Creates the watch that generates program using the root files and compiler options

    interface WatchOfFilesAndCompilerOptions<T> {
        close(): void;
        getProgram(): T;
        updateRootFileNames(fileNames: string[]): void;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    • Watch<T>
      • WatchOfFilesAndCompilerOptions
    Index

    Methods

    • Closes the watch

      Returns void

    • Synchronize with host and get updated program

      Returns T

    • Updates the root files in the program, only if this is not config file compilation

      Parameters

      • fileNames: string[]

      Returns void