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/src/file2.ts]
  export const x = 10;
  
  //// [/user/username/projects/myproject/tsconfig.json]
  {"compilerOptions":{"outDir":"dist"}}
  
  
  /a/lib/tsc.js --w -p /user/username/projects/myproject/tsconfig.json
  Output::
  >> Screen clear
  [[90m12:00:25 AM[0m] Starting compilation in watch mode...
  
  [[90m12:00:33 AM[0m] Found 0 errors. Watching for file changes.
  
  
  
  Program root files: ["/user/username/projects/myproject/src/file1.ts","/user/username/projects/myproject/src/file2.ts"]
  Program options: {"outDir":"/user/username/projects/myproject/dist","watch":true,"project":"/user/username/projects/myproject/tsconfig.json","configFilePath":"/user/username/projects/myproject/tsconfig.json"}
  Program structureReused: Not
  Program files::
  /a/lib/lib.d.ts
  /user/username/projects/myproject/src/file2.ts
  /user/username/projects/myproject/src/file1.ts
  
  Semantic diagnostics in builder refreshed for::
  /a/lib/lib.d.ts
  /user/username/projects/myproject/src/file2.ts
  /user/username/projects/myproject/src/file1.ts
  
  Shape signatures in builder refreshed for::
  /a/lib/lib.d.ts (used version)
  /user/username/projects/myproject/src/file2.ts (used version)
  /user/username/projects/myproject/src/file1.ts (used version)
  
  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/src/file2.ts:
    {"fileName":"/user/username/projects/myproject/src/file2.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /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/dist:
    {"directoryName":"/user/username/projects/myproject/dist","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  //// [/user/username/projects/myproject/dist/file2.js]
  "use strict";
  exports.__esModule = true;
  exports.x = void 0;
  exports.x = 10;
  
  
  //// [/user/username/projects/myproject/dist/file1.js]
  "use strict";
  exports.__esModule = true;
  
  
  
  Change:: No change
  
  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}
  /user/username/projects/myproject/src/file2.ts:
    {"fileName":"/user/username/projects/myproject/src/file2.ts","pollingInterval":250}
  /a/lib/lib.d.ts:
    {"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
  
  FsWatches::
  /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/dist:
    {"directoryName":"/user/username/projects/myproject/dist","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  
  Change:: rename the file
  
  Input::
  //// [/user/username/projects/myproject/src/renamed.ts]
  export const x = 10;
  
  //// [/user/username/projects/myproject/src/file2.ts] deleted
  
  Output::
  >> Screen clear
  [[90m12:00:37 AM[0m] File change detected. Starting incremental compilation...
  
  [91merror[0m[90m TS6053: [0mFile '/user/username/projects/myproject/src/file2.ts' not found.
    The file is in the program because:
      Matched by include pattern '**/*' in '/user/username/projects/myproject/tsconfig.json'
  
  [[90m12:00:41 AM[0m] Found 1 error. Watching for file changes.
  
  
  
  Program root files: ["/user/username/projects/myproject/src/file1.ts","/user/username/projects/myproject/src/file2.ts"]
  Program options: {"outDir":"/user/username/projects/myproject/dist","watch":true,"project":"/user/username/projects/myproject/tsconfig.json","configFilePath":"/user/username/projects/myproject/tsconfig.json"}
  Program structureReused: Not
  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
  
  Shape signatures in builder refreshed for::
  /user/username/projects/myproject/src/file1.ts (computed .d.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/src/file2.ts:
    {"fileName":"/user/username/projects/myproject/src/file2.ts","pollingInterval":250}
  
  FsWatches::
  /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/dist:
    {"directoryName":"/user/username/projects/myproject/dist","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  //// [/user/username/projects/myproject/dist/file1.js] file written with same contents
  
  Change:: Pending directory watchers and program update
  
  Input::
  
  Output::
  >> Screen clear
  [[90m12:00:42 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:45 AM[0m] Found 1 error. Watching for file changes.
  
  
  
  Program root files: ["/user/username/projects/myproject/src/file1.ts","/user/username/projects/myproject/src/renamed.ts"]
  Program options: {"outDir":"/user/username/projects/myproject/dist","watch":true,"project":"/user/username/projects/myproject/tsconfig.json","configFilePath":"/user/username/projects/myproject/tsconfig.json"}
  Program structureReused: Not
  Program files::
  /a/lib/lib.d.ts
  /user/username/projects/myproject/src/file1.ts
  /user/username/projects/myproject/src/renamed.ts
  
  Semantic diagnostics in builder refreshed for::
  /user/username/projects/myproject/src/file1.ts
  /user/username/projects/myproject/src/renamed.ts
  
  Shape signatures in builder refreshed for::
  /user/username/projects/myproject/src/renamed.ts (computed .d.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/src/renamed.ts:
    {"fileName":"/user/username/projects/myproject/src/renamed.ts","pollingInterval":250}
  
  FsWatches::
  /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/dist:
    {"directoryName":"/user/username/projects/myproject/dist","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  /user/username/projects/myproject/src:
    {"directoryName":"/user/username/projects/myproject/src","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
  
  FsWatchesRecursive::
  
  exitCode:: ExitStatus.undefined
  
  //// [/user/username/projects/myproject/dist/renamed.js]
  "use strict";
  exports.__esModule = true;
  exports.x = void 0;
  exports.x = 10;
  
  
  