|
| 1 | +Input:: |
| 2 | +//// [/user/username/projects/myproject/index.ts] |
| 3 | + |
| 4 | + |
| 5 | +//// [/user/username/projects/myproject/tsconfig.json] |
| 6 | +{} |
| 7 | + |
| 8 | +//// [/a/lib/lib.d.ts] |
| 9 | +/// <reference no-default-lib="true"/> |
| 10 | +interface Boolean {} |
| 11 | +interface Function {} |
| 12 | +interface CallableFunction {} |
| 13 | +interface NewableFunction {} |
| 14 | +interface IArguments {} |
| 15 | +interface Number { toExponential: any; } |
| 16 | +interface Object {} |
| 17 | +interface RegExp {} |
| 18 | +interface String { charAt: any; } |
| 19 | +interface Array<T> { length: number; [n: number]: T; } |
| 20 | + |
| 21 | + |
| 22 | +/a/lib/tsc.js -w -p . --extendedDiagnostics |
| 23 | +Output:: |
| 24 | +[[90m12:00:21 AM[0m] Starting compilation in watch mode... |
| 25 | + |
| 26 | +Current directory: /user/username/projects/myproject CaseSensitiveFileNames: false |
| 27 | +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Config file |
| 28 | +Synchronizing program |
| 29 | +CreatingProgramWith:: |
| 30 | + roots: ["/user/username/projects/myproject/index.ts"] |
| 31 | + options: {"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} |
| 32 | +FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/index.ts 250 undefined Source file |
| 33 | +FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file |
| 34 | +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots |
| 35 | +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots |
| 36 | +[[90m12:00:24 AM[0m] Found 0 errors. Watching for file changes. |
| 37 | + |
| 38 | +DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory |
| 39 | +Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory |
| 40 | + |
| 41 | + |
| 42 | +Program root files: ["/user/username/projects/myproject/index.ts"] |
| 43 | +Program options: {"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} |
| 44 | +Program structureReused: Not |
| 45 | +Program files:: |
| 46 | +/a/lib/lib.d.ts |
| 47 | +/user/username/projects/myproject/index.ts |
| 48 | + |
| 49 | +Semantic diagnostics in builder refreshed for:: |
| 50 | +/a/lib/lib.d.ts |
| 51 | +/user/username/projects/myproject/index.ts |
| 52 | + |
| 53 | +Shape signatures in builder refreshed for:: |
| 54 | +/a/lib/lib.d.ts (used version) |
| 55 | +/user/username/projects/myproject/index.ts (used version) |
| 56 | + |
| 57 | +WatchedFiles:: |
| 58 | +/user/username/projects/myproject/tsconfig.json: |
| 59 | + {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250} |
| 60 | +/user/username/projects/myproject/index.ts: |
| 61 | + {"fileName":"/user/username/projects/myproject/index.ts","pollingInterval":250} |
| 62 | +/a/lib/lib.d.ts: |
| 63 | + {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} |
| 64 | + |
| 65 | +FsWatches:: |
| 66 | + |
| 67 | +FsWatchesRecursive:: |
| 68 | +/user/username/projects/myproject/node_modules/@types: |
| 69 | + {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} |
| 70 | +/user/username/projects/myproject: |
| 71 | + {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} |
| 72 | + |
| 73 | +exitCode:: ExitStatus.undefined |
| 74 | + |
| 75 | +//// [/user/username/projects/myproject/index.js] |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | +Change:: Create foo in project root |
| 80 | + |
| 81 | +Input:: |
| 82 | +//// [/user/username/projects/myproject/foo] |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | +Output:: |
| 87 | +DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory |
| 88 | +Scheduling update |
| 89 | +Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory |
| 90 | +Reloading new file names and options |
| 91 | +Synchronizing program |
| 92 | + |
| 93 | + |
| 94 | +WatchedFiles:: |
| 95 | +/user/username/projects/myproject/tsconfig.json: |
| 96 | + {"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250} |
| 97 | +/user/username/projects/myproject/index.ts: |
| 98 | + {"fileName":"/user/username/projects/myproject/index.ts","pollingInterval":250} |
| 99 | +/a/lib/lib.d.ts: |
| 100 | + {"fileName":"/a/lib/lib.d.ts","pollingInterval":250} |
| 101 | + |
| 102 | +FsWatches:: |
| 103 | + |
| 104 | +FsWatchesRecursive:: |
| 105 | +/user/username/projects/myproject/node_modules/@types: |
| 106 | + {"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} |
| 107 | +/user/username/projects/myproject: |
| 108 | + {"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}} |
| 109 | + |
| 110 | +exitCode:: ExitStatus.undefined |
| 111 | + |
0 commit comments