|
| 1 | +currentDirectory:: /user/username/projects/myproject useCaseSensitiveFileNames: false |
| 2 | +Input:: |
| 3 | +//// [/a/lib/lib.d.ts] |
| 4 | +/// <reference no-default-lib="true"/> |
| 5 | +interface Boolean {} |
| 6 | +interface Function {} |
| 7 | +interface CallableFunction {} |
| 8 | +interface NewableFunction {} |
| 9 | +interface IArguments {} |
| 10 | +interface Number { toExponential: any; } |
| 11 | +interface Object {} |
| 12 | +interface RegExp {} |
| 13 | +interface String { charAt: any; } |
| 14 | +interface Array<T> { length: number; [n: number]: T; } |
| 15 | + |
| 16 | +//// [/user/username/projects/myproject/main.ts] |
| 17 | +export const x = 10; |
| 18 | + |
| 19 | +//// [/user/username/projects/myproject/tsconfig.json] |
| 20 | +{ |
| 21 | + "files": [ |
| 22 | + "main.ts" |
| 23 | + ] |
| 24 | +} |
| 25 | + |
| 26 | + |
| 27 | +/a/lib/tsc.js -w --extendedDiagnostics |
| 28 | +Output:: |
| 29 | +[[90m12:00:21 AM[0m] Starting compilation in watch mode... |
| 30 | + |
| 31 | +Current directory: /user/username/projects/myproject CaseSensitiveFileNames: false |
| 32 | +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Config file |
| 33 | +Synchronizing program |
| 34 | +CreatingProgramWith:: |
| 35 | + roots: ["/user/username/projects/myproject/main.ts"] |
| 36 | + options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} |
| 37 | +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file |
| 38 | +FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file |
| 39 | +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots |
| 40 | +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots |
| 41 | +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots |
| 42 | +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots |
| 43 | +[[90m12:00:24 AM[0m] Found 0 errors. Watching for file changes. |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | +//// [/user/username/projects/myproject/main.js] |
| 48 | +"use strict"; |
| 49 | +Object.defineProperty(exports, "__esModule", { value: true }); |
| 50 | +exports.x = void 0; |
| 51 | +exports.x = 10; |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +PolledWatches:: |
| 56 | +/user/username/projects/myproject/node_modules/@types: *new* |
| 57 | + {"pollingInterval":500} |
| 58 | +/user/username/projects/node_modules/@types: *new* |
| 59 | + {"pollingInterval":500} |
| 60 | + |
| 61 | +FsWatches:: |
| 62 | +/a/lib/lib.d.ts: *new* |
| 63 | + {} |
| 64 | +/user/username/projects/myproject/main.ts: *new* |
| 65 | + {} |
| 66 | +/user/username/projects/myproject/tsconfig.json: *new* |
| 67 | + {} |
| 68 | + |
| 69 | +Program root files: [ |
| 70 | + "/user/username/projects/myproject/main.ts" |
| 71 | +] |
| 72 | +Program options: { |
| 73 | + "watch": true, |
| 74 | + "extendedDiagnostics": true, |
| 75 | + "configFilePath": "/user/username/projects/myproject/tsconfig.json" |
| 76 | +} |
| 77 | +Program structureReused: Not |
| 78 | +Program files:: |
| 79 | +/a/lib/lib.d.ts |
| 80 | +/user/username/projects/myproject/main.ts |
| 81 | + |
| 82 | +Semantic diagnostics in builder refreshed for:: |
| 83 | +/a/lib/lib.d.ts |
| 84 | +/user/username/projects/myproject/main.ts |
| 85 | + |
| 86 | +Shape signatures in builder refreshed for:: |
| 87 | +/a/lib/lib.d.ts (used version) |
| 88 | +/user/username/projects/myproject/main.ts (used version) |
| 89 | + |
| 90 | +exitCode:: ExitStatus.undefined |
| 91 | + |
| 92 | +Change:: emulate access |
| 93 | + |
| 94 | +Input:: |
| 95 | + |
| 96 | +Output:: |
| 97 | +FileWatcher:: Triggered with /user/username/projects/myproject/main.ts 1:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file |
| 98 | +Scheduling update |
| 99 | +Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main.ts 1:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file |
| 100 | + |
| 101 | + |
| 102 | +Timeout callback:: count: 1 |
| 103 | +1: timerToUpdateProgram *new* |
| 104 | + |
| 105 | +Before running Timeout callback:: count: 1 |
| 106 | +1: timerToUpdateProgram |
| 107 | + |
| 108 | +After running Timeout callback:: count: 0 |
| 109 | +Output:: |
| 110 | +Synchronizing program |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | +exitCode:: ExitStatus.undefined |
| 116 | + |
| 117 | +Change:: modify file contents |
| 118 | + |
| 119 | +Input:: |
| 120 | +//// [/user/username/projects/myproject/main.ts] |
| 121 | +export const x = 10;export const y = 10; |
| 122 | + |
| 123 | + |
| 124 | +Output:: |
| 125 | +FileWatcher:: Triggered with /user/username/projects/myproject/main.ts 1:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file |
| 126 | +Scheduling update |
| 127 | +Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/main.ts 1:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file |
| 128 | + |
| 129 | + |
| 130 | +Timeout callback:: count: 1 |
| 131 | +2: timerToUpdateProgram *new* |
| 132 | + |
| 133 | +Before running Timeout callback:: count: 1 |
| 134 | +2: timerToUpdateProgram |
| 135 | + |
| 136 | +After running Timeout callback:: count: 0 |
| 137 | +Output:: |
| 138 | +Synchronizing program |
| 139 | +[[90m12:00:27 AM[0m] File change detected. Starting incremental compilation... |
| 140 | + |
| 141 | +CreatingProgramWith:: |
| 142 | + roots: ["/user/username/projects/myproject/main.ts"] |
| 143 | + options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} |
| 144 | +[[90m12:00:31 AM[0m] Found 0 errors. Watching for file changes. |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | +//// [/user/username/projects/myproject/main.js] |
| 149 | +"use strict"; |
| 150 | +Object.defineProperty(exports, "__esModule", { value: true }); |
| 151 | +exports.y = exports.x = void 0; |
| 152 | +exports.x = 10; |
| 153 | +exports.y = 10; |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | +Program root files: [ |
| 159 | + "/user/username/projects/myproject/main.ts" |
| 160 | +] |
| 161 | +Program options: { |
| 162 | + "watch": true, |
| 163 | + "extendedDiagnostics": true, |
| 164 | + "configFilePath": "/user/username/projects/myproject/tsconfig.json" |
| 165 | +} |
| 166 | +Program structureReused: Completely |
| 167 | +Program files:: |
| 168 | +/a/lib/lib.d.ts |
| 169 | +/user/username/projects/myproject/main.ts |
| 170 | + |
| 171 | +Semantic diagnostics in builder refreshed for:: |
| 172 | +/user/username/projects/myproject/main.ts |
| 173 | + |
| 174 | +Shape signatures in builder refreshed for:: |
| 175 | +/user/username/projects/myproject/main.ts (computed .d.ts) |
| 176 | + |
| 177 | +exitCode:: ExitStatus.undefined |
0 commit comments