|
| 1 | +Input:: |
| 2 | +//// [/project/tsconfig.json] |
| 3 | +{"compilerOptions":{"strict":true,"target":"es2020","module":"nodenext","moduleResolution":"nodenext","outDir":"../dist"}} |
| 4 | + |
| 5 | +//// [/project/src/index.ts] |
| 6 | +import * as Thing from "thing"; |
| 7 | + |
| 8 | +Thing.fn(); |
| 9 | + |
| 10 | +//// [/project/src/deps.d.ts] |
| 11 | +declare module "thing"; |
| 12 | + |
| 13 | +//// [/project/package.json] |
| 14 | +{"name":"some-proj","version":"1.0.0","description":"","type":"module","main":"index.js"} |
| 15 | + |
| 16 | +//// [/a/lib/lib.es2020.full.d.ts] |
| 17 | +/// <reference no-default-lib="true"/> |
| 18 | +interface Boolean {} |
| 19 | +interface Function {} |
| 20 | +interface CallableFunction {} |
| 21 | +interface NewableFunction {} |
| 22 | +interface IArguments {} |
| 23 | +interface Number { toExponential: any; } |
| 24 | +interface Object {} |
| 25 | +interface RegExp {} |
| 26 | +interface String { charAt: any; } |
| 27 | +interface Array<T> { length: number; [n: number]: T; } |
| 28 | + |
| 29 | + |
| 30 | +/a/lib/tsc.js --w --p /project/tsconfig.json |
| 31 | +Output:: |
| 32 | +>> Screen clear |
| 33 | +[[90m12:00:21 AM[0m] Starting compilation in watch mode... |
| 34 | + |
| 35 | +[[90m12:00:27 AM[0m] Found 0 errors. Watching for file changes. |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | +Program root files: ["/project/src/deps.d.ts","/project/src/index.ts"] |
| 40 | +Program options: {"strict":true,"target":7,"module":199,"moduleResolution":99,"outDir":"/dist","watch":true,"project":"/project/tsconfig.json","configFilePath":"/project/tsconfig.json"} |
| 41 | +Program structureReused: Not |
| 42 | +Program files:: |
| 43 | +/a/lib/lib.es2020.full.d.ts |
| 44 | +/project/src/deps.d.ts |
| 45 | +/project/src/index.ts |
| 46 | + |
| 47 | +Semantic diagnostics in builder refreshed for:: |
| 48 | +/a/lib/lib.es2020.full.d.ts |
| 49 | +/project/src/deps.d.ts |
| 50 | +/project/src/index.ts |
| 51 | + |
| 52 | +Shape signatures in builder refreshed for:: |
| 53 | +/a/lib/lib.es2020.full.d.ts (used version) |
| 54 | +/project/src/deps.d.ts (used version) |
| 55 | +/project/src/index.ts (used version) |
| 56 | + |
| 57 | +WatchedFiles:: |
| 58 | +/project/tsconfig.json: |
| 59 | + {"fileName":"/project/tsconfig.json","pollingInterval":250} |
| 60 | +/project/src/deps.d.ts: |
| 61 | + {"fileName":"/project/src/deps.d.ts","pollingInterval":250} |
| 62 | +/project/src/index.ts: |
| 63 | + {"fileName":"/project/src/index.ts","pollingInterval":250} |
| 64 | +/a/lib/lib.es2020.full.d.ts: |
| 65 | + {"fileName":"/a/lib/lib.es2020.full.d.ts","pollingInterval":250} |
| 66 | +/project/src/package.json: |
| 67 | + {"fileName":"/project/src/package.json","pollingInterval":250} |
| 68 | +/project/package.json: |
| 69 | + {"fileName":"/project/package.json","pollingInterval":250} |
| 70 | +/a/lib/package.json: |
| 71 | + {"fileName":"/a/lib/package.json","pollingInterval":250} |
| 72 | +/a/package.json: |
| 73 | + {"fileName":"/a/package.json","pollingInterval":250} |
| 74 | +/package.json: |
| 75 | + {"fileName":"/package.json","pollingInterval":250} |
| 76 | + |
| 77 | +FsWatches:: |
| 78 | + |
| 79 | +FsWatchesRecursive:: |
| 80 | +/project/node_modules/@types: |
| 81 | + {"directoryName":"/project/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} |
| 82 | +/project: |
| 83 | + {"directoryName":"/project","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} |
| 84 | + |
| 85 | +exitCode:: ExitStatus.undefined |
| 86 | + |
| 87 | +//// [/dist/index.js] |
| 88 | +import * as Thing from "thing"; |
| 89 | +Thing.fn(); |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | +Change:: Modify typescript file |
| 94 | + |
| 95 | +Input:: |
| 96 | +//// [/project/src/index.ts] |
| 97 | +import * as Thing from "thing"; |
| 98 | +Thing.fn(); |
| 99 | + |
| 100 | + |
| 101 | +Output:: |
| 102 | +>> Screen clear |
| 103 | +[[90m12:00:30 AM[0m] File change detected. Starting incremental compilation... |
| 104 | + |
| 105 | +[[90m12:00:34 AM[0m] Found 0 errors. Watching for file changes. |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | +Program root files: ["/project/src/deps.d.ts","/project/src/index.ts"] |
| 110 | +Program options: {"strict":true,"target":7,"module":199,"moduleResolution":99,"outDir":"/dist","watch":true,"project":"/project/tsconfig.json","configFilePath":"/project/tsconfig.json"} |
| 111 | +Program structureReused: Completely |
| 112 | +Program files:: |
| 113 | +/a/lib/lib.es2020.full.d.ts |
| 114 | +/project/src/deps.d.ts |
| 115 | +/project/src/index.ts |
| 116 | + |
| 117 | +Semantic diagnostics in builder refreshed for:: |
| 118 | +/project/src/index.ts |
| 119 | + |
| 120 | +Shape signatures in builder refreshed for:: |
| 121 | +/project/src/index.ts (computed .d.ts) |
| 122 | + |
| 123 | +WatchedFiles:: |
| 124 | +/project/tsconfig.json: |
| 125 | + {"fileName":"/project/tsconfig.json","pollingInterval":250} |
| 126 | +/project/src/deps.d.ts: |
| 127 | + {"fileName":"/project/src/deps.d.ts","pollingInterval":250} |
| 128 | +/project/src/index.ts: |
| 129 | + {"fileName":"/project/src/index.ts","pollingInterval":250} |
| 130 | +/a/lib/lib.es2020.full.d.ts: |
| 131 | + {"fileName":"/a/lib/lib.es2020.full.d.ts","pollingInterval":250} |
| 132 | +/project/src/package.json: |
| 133 | + {"fileName":"/project/src/package.json","pollingInterval":250} |
| 134 | +/project/package.json: |
| 135 | + {"fileName":"/project/package.json","pollingInterval":250} |
| 136 | + |
| 137 | +FsWatches:: |
| 138 | + |
| 139 | +FsWatchesRecursive:: |
| 140 | +/project/node_modules/@types: |
| 141 | + {"directoryName":"/project/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} |
| 142 | +/project: |
| 143 | + {"directoryName":"/project","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} |
| 144 | + |
| 145 | +exitCode:: ExitStatus.undefined |
| 146 | + |
| 147 | +//// [/dist/index.js] file written with same contents |
0 commit comments