text: Input::
  //// [/a/lib/lib.d.ts]
  /// <reference no-default-lib="true"/>
  interface Boolean {}
  interface Function {}
  interface CallableFunction {}
  interface NewableFunction {}
  interface IArguments {}
  interface Number { toExponential: any; }
  interface Object {}
  interface RegExp {}
  interface String { charAt: any; }
  interface Array<T> { length: number; [n: number]: T; }
  
  //// [/user/username/projects/myproject/src/file1.ts]
  import { x } from "file2";
  
  //// [/user/username/projects/myproject/node_modules/file2/index.d.ts]
  export const x = 10;
  
  //// [/user/username/projects/myproject/tsconfig.json]
  {}
  
  
  /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json
  Output::
  >> Screen clear
  [[90m12:00:29 AM[0m] Starting compilation in watch mode...
  
  
  [[90m12:00:32 AM[0m] Found 0 errors. Watching for file changes.
  
  
  
  Program root files: ["/user/username/projects/myproject/src/file1.ts"]
  Program options: {"watch":true,"project":"/user/username/projects/myproject/tsconfig.json","configFilePath":"/user/username/projects/myproject/tsconfig.json"}
  Program files::
  /a/lib/lib.d.ts
  /user/username/projects/myproject/node_modules/file2/index.d.ts
  /user/username/projects/myproject/src/file1.ts
  
  Semantic diagnostics in builder refreshed for::
  /a/lib/lib.d.ts
  /user/username/projects/myproject/node_modules/file2/index.d.ts
  /user/username/projects/myproject/src/file1.ts
  
  WatchedFiles::
  /user/username/projects/myproject/tsconfig.json:
    {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
  /user/username/projects/myproject/src/file1.ts:
    {"fileName":"/user/username/projects/myproject/src/file1.ts","pollingInterval":250}
  /user/username/projects/myproject/node_modules/file2/index.d.ts:
    {"fileName":"/user/username/projects/myproject/node_modules/file2/index.d.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules:
    {"directoryName":"/user/username/projects/myproject/node_modules","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/file2:
    {"directoryName":"/user/username/projects/myproject/node_modules/file2","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/@types:
    {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject:
    {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  //// [/user/username/projects/myproject/src/file1.js]
  "use strict";
  exports.__esModule = true;
  
  
  
  Change:: Pending updates because of file1.js creation
  
  Input::
  
  Output::
  >> Screen clear
  [[90m12:00:33 AM[0m] File change detected. Starting incremental compilation...
  
  
  [[90m12:00:34 AM[0m] Found 0 errors. Watching for file changes.
  
  
  
  Program root files: ["/user/username/projects/myproject/src/file1.ts"]
  Program options: {"watch":true,"project":"/user/username/projects/myproject/tsconfig.json","configFilePath":"/user/username/projects/myproject/tsconfig.json"}
  Program files::
  /a/lib/lib.d.ts
  /user/username/projects/myproject/node_modules/file2/index.d.ts
  /user/username/projects/myproject/src/file1.ts
  
  Semantic diagnostics in builder refreshed for::
  
  WatchedFiles::
  /user/username/projects/myproject/tsconfig.json:
    {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
  /user/username/projects/myproject/src/file1.ts:
    {"fileName":"/user/username/projects/myproject/src/file1.ts","pollingInterval":250}
  /user/username/projects/myproject/node_modules/file2/index.d.ts:
    {"fileName":"/user/username/projects/myproject/node_modules/file2/index.d.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules:
    {"directoryName":"/user/username/projects/myproject/node_modules","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/file2:
    {"directoryName":"/user/username/projects/myproject/node_modules/file2","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/@types:
    {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject:
    {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  
  Change:: Remove directory node_modules
  
  Input::
  //// [/user/username/projects/myproject/node_modules/file2/index.d.ts] deleted
  
  Output::
  >> Screen clear
  [[90m12:00:38 AM[0m] File change detected. Starting incremental compilation...
  
  
  [96muser/username/projects/myproject/src/file1.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2307: [0mCannot find module 'file2' or its corresponding type declarations.
  
  [7m1[0m import { x } from "file2";
  [7m [0m [91m                  ~~~~~~~[0m
  
  
  [[90m12:00:42 AM[0m] Found 1 error. Watching for file changes.
  
  
  
  Program root files: ["/user/username/projects/myproject/src/file1.ts"]
  Program options: {"watch":true,"project":"/user/username/projects/myproject/tsconfig.json","configFilePath":"/user/username/projects/myproject/tsconfig.json"}
  Program files::
  /a/lib/lib.d.ts
  /user/username/projects/myproject/src/file1.ts
  
  Semantic diagnostics in builder refreshed for::
  /user/username/projects/myproject/src/file1.ts
  
  WatchedFiles::
  /user/username/projects/myproject/tsconfig.json:
    {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
  /user/username/projects/myproject/src/file1.ts:
    {"fileName":"/user/username/projects/myproject/src/file1.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules:
    {"directoryName":"/user/username/projects/myproject/node_modules","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/@types:
    {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject:
    {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  //// [/user/username/projects/myproject/src/file1.js] file written with same contents
  
  Change:: Pending directory watchers and program update
  
  Input::
  
  Output::
  >> Screen clear
  [[90m12:00:43 AM[0m] File change detected. Starting incremental compilation...
  
  
  [96muser/username/projects/myproject/src/file1.ts[0m:[93m1[0m:[93m19[0m - [91merror[0m[90m TS2307: [0mCannot find module 'file2' or its corresponding type declarations.
  
  [7m1[0m import { x } from "file2";
  [7m [0m [91m                  ~~~~~~~[0m
  
  
  [[90m12:00:44 AM[0m] Found 1 error. Watching for file changes.
  
  
  
  Program root files: ["/user/username/projects/myproject/src/file1.ts"]
  Program options: {"watch":true,"project":"/user/username/projects/myproject/tsconfig.json","configFilePath":"/user/username/projects/myproject/tsconfig.json"}
  Program files::
  /a/lib/lib.d.ts
  /user/username/projects/myproject/src/file1.ts
  
  Semantic diagnostics in builder refreshed for::
  
  WatchedFiles::
  /user/username/projects/myproject/tsconfig.json:
    {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
  /user/username/projects/myproject/src/file1.ts:
    {"fileName":"/user/username/projects/myproject/src/file1.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules:
    {"directoryName":"/user/username/projects/myproject/node_modules","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/@types:
    {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject:
    {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  
  Change:: Start npm install
  
  Input::
  
  Output::
  
  WatchedFiles::
  /user/username/projects/myproject/tsconfig.json:
    {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
  /user/username/projects/myproject/src/file1.ts:
    {"fileName":"/user/username/projects/myproject/src/file1.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules:
    {"directoryName":"/user/username/projects/myproject/node_modules","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/@types:
    {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject:
    {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  
  Change:: npm install folder creation of file2
  
  Input::
  
  Output::
  
  WatchedFiles::
  /user/username/projects/myproject/tsconfig.json:
    {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
  /user/username/projects/myproject/src/file1.ts:
    {"fileName":"/user/username/projects/myproject/src/file1.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules:
    {"directoryName":"/user/username/projects/myproject/node_modules","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/@types:
    {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject:
    {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  
  Change:: npm install index file in file2
  
  Input::
  //// [/user/username/projects/myproject/node_modules/file2/index.d.ts]
  export const x = 10;
  
  
  Output::
  
  WatchedFiles::
  /user/username/projects/myproject/tsconfig.json:
    {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
  /user/username/projects/myproject/src/file1.ts:
    {"fileName":"/user/username/projects/myproject/src/file1.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules:
    {"directoryName":"/user/username/projects/myproject/node_modules","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/@types:
    {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject:
    {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  
  Change:: Updates the program
  
  Input::
  
  Output::
  
  WatchedFiles::
  /user/username/projects/myproject/tsconfig.json:
    {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
  /user/username/projects/myproject/src/file1.ts:
    {"fileName":"/user/username/projects/myproject/src/file1.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules:
    {"directoryName":"/user/username/projects/myproject/node_modules","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/@types:
    {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject:
    {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/file2:
    {"directoryName":"/user/username/projects/myproject/node_modules/file2","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  
  Change:: Pending updates
  
  Input::
  
  Output::
  >> Screen clear
  [[90m12:00:51 AM[0m] File change detected. Starting incremental compilation...
  
  
  [[90m12:00:55 AM[0m] Found 0 errors. Watching for file changes.
  
  
  
  Program root files: ["/user/username/projects/myproject/src/file1.ts"]
  Program options: {"watch":true,"project":"/user/username/projects/myproject/tsconfig.json","configFilePath":"/user/username/projects/myproject/tsconfig.json"}
  Program files::
  /a/lib/lib.d.ts
  /user/username/projects/myproject/node_modules/file2/index.d.ts
  /user/username/projects/myproject/src/file1.ts
  
  Semantic diagnostics in builder refreshed for::
  /user/username/projects/myproject/node_modules/file2/index.d.ts
  /user/username/projects/myproject/src/file1.ts
  
  WatchedFiles::
  /user/username/projects/myproject/tsconfig.json:
    {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
  /user/username/projects/myproject/src/file1.ts:
    {"fileName":"/user/username/projects/myproject/src/file1.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  /user/username/projects/myproject/node_modules/file2/index.d.ts:
    {"fileName":"/user/username/projects/myproject/node_modules/file2/index.d.ts","pollingInterval":250}
  
  FsWatches::
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules:
    {"directoryName":"/user/username/projects/myproject/node_modules","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/@types:
    {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject:
    {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/node_modules/file2:
    {"directoryName":"/user/username/projects/myproject/node_modules/file2","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  //// [/user/username/projects/myproject/src/file1.js] file written with same contents
  