@@ -39,6 +39,8 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_mod
39
39
Elapsed :: * ms DirectoryWatcher :: Added :: WatchInfo : / u s e r / username/ projects / myproject / node_modules / @types 1 undefined Type roots
40
40
[ [ 90 m12 :00 :34 AM [ 0 m ] Found 0 errors . Watching for file changes .
41
41
42
+ DirectoryWatcher :: Added :: WatchInfo : / user / username / projects / myproject 1 undefined Wild card directory
43
+ Elapsed :: * ms DirectoryWatcher :: Added :: WatchInfo : / user / username / projects / myproject 1 undefined Wild card directory
42
44
43
45
44
46
Program root files : [ "/user/username/projects/myproject/f1.ts" , "/user/username/projects/myproject/f2.ts" ]
@@ -74,6 +76,8 @@ FsWatches::
74
76
FsWatchesRecursive ::
75
77
/ user / username / projects / myproject / node_modules / @types :
76
78
{ "directoryName" :"/user/username/projects/myproject/node_modules/@types" , "fallbackPollingInterval" :500 , "fallbackOptions" :{ "watchFile" :"PriorityPollingInterval" } }
79
+ / user / username / projects / myproject :
80
+ { "directoryName" :"/user/username/projects/myproject" , "fallbackPollingInterval" :500 , "fallbackOptions" :{ "watchFile" :"PriorityPollingInterval" } }
77
81
78
82
exitCode :: ExitStatus . undefined
79
83
@@ -149,6 +153,41 @@ export const z = 1;
149
153
150
154
151
155
Output ::
156
+ DirectoryWatcher :: Triggered with / user / username / projects / myproject / new - file . ts :: WatchInfo : / user / username / projects / myproject 1 undefined Wild card directory
157
+ Scheduling update
158
+ Elapsed :: * ms DirectoryWatcher :: Triggered with / user / username / projects / myproject / new - file . ts :: WatchInfo : / user / username / projects / myproject 1 undefined Wild card directory
159
+ Reloading new file names and options
160
+ Synchronizing program
161
+ [ [ 90 m12 :00 :39 AM [ 0 m ] File change detected . Starting incremental compilation . . .
162
+
163
+ CreatingProgramWith ::
164
+ roots : [ "/user/username/projects/myproject/f1.ts" , "/user/username/projects/myproject/f2.ts" , "/user/username/projects/myproject/new-file.ts" ]
165
+ options : { "composite" :true , "watch" :true , "extendedDiagnostics" :true , "configFilePath" :"/user/username/projects/myproject/tsconfig.json" }
166
+ FileWatcher :: Added :: WatchInfo : / user / username / projects / myproject / new - file . ts 250 undefined Source file
167
+ DirectoryWatcher :: Triggered with / user / username / projects / myproject / new - file . js :: WatchInfo : / user / username / projects / myproject 1 undefined Wild card directory
168
+ Project : / user / username / projects / myproject / tsconfig . json Detected file add / remove of non supported extension : / user / username / projects / myproject / new - file . js
169
+ Elapsed :: * ms DirectoryWatcher :: Triggered with / user / username / projects / myproject / new - file . js :: WatchInfo : / user / username / projects / myproject 1 undefined Wild card directory
170
+ DirectoryWatcher :: Triggered with / user / username / projects / myproject / new - file . d . ts :: WatchInfo : / user / username / projects / myproject 1 undefined Wild card directory
171
+ Project : / user / username / projects / myproject / tsconfig . json Detected output file : / user / username / projects / myproject / new - file . d . ts
172
+ Elapsed :: * ms DirectoryWatcher :: Triggered with / user / username / projects / myproject / new - file . d . ts :: WatchInfo : / user / username / projects / myproject 1 undefined Wild card directory
173
+ [ [ 90 m12 :00 :47 AM [ 0 m ] Found 0 errors . Watching for file changes .
174
+
175
+
176
+
177
+ Program root files : [ "/user/username/projects/myproject/f1.ts" , "/user/username/projects/myproject/f2.ts" , "/user/username/projects/myproject/new-file.ts" ]
178
+ Program options : { "composite" :true , "watch" :true , "extendedDiagnostics" :true , "configFilePath" :"/user/username/projects/myproject/tsconfig.json" }
179
+ Program structureReused : Not
180
+ Program files ::
181
+ / a / lib / lib . d . ts
182
+ / user / username / projects / myproject / f1 . ts
183
+ / user / username / projects / myproject / f2 . ts
184
+ / user / username / projects / myproject / new - file . ts
185
+
186
+ Semantic diagnostics in builder refreshed for ::
187
+ / user / username / projects / myproject / new - file . ts
188
+
189
+ Shape signatures in builder refreshed for ::
190
+ / user / username / projects / myproject / new - file . ts ( computed . d . ts )
152
191
153
192
WatchedFiles ::
154
193
/ user / username / projects / myproject / tsconfig . json :
@@ -159,15 +198,77 @@ WatchedFiles::
159
198
{ "fileName" :"/user/username/projects/myproject/f2.ts" , "pollingInterval" :250 }
160
199
/ a / lib / lib . d . ts :
161
200
{ "fileName" :"/a/lib/lib.d.ts" , "pollingInterval" :250 }
201
+ / user / username / projects / myproject / new - file . ts :
202
+ { "fileName" :"/user/username/projects/myproject/new-file.ts" , "pollingInterval" :250 }
162
203
163
204
FsWatches ::
164
205
165
206
FsWatchesRecursive ::
166
207
/ user / username / projects / myproject / node_modules / @types :
167
208
{ "directoryName" :"/user/username/projects/myproject/node_modules/@types" , "fallbackPollingInterval" :500 , "fallbackOptions" :{ "watchFile" :"PriorityPollingInterval" } }
209
+ / user / username / projects / myproject :
210
+ { "directoryName" :"/user/username/projects/myproject" , "fallbackPollingInterval" :500 , "fallbackOptions" :{ "watchFile" :"PriorityPollingInterval" } }
168
211
169
212
exitCode :: ExitStatus . undefined
170
213
214
+ //// [/user/username/projects/myproject/tsconfig.tsbuildinfo]
215
+ { "program" :{ "fileNames" :[ "../../../../a/lib/lib.d.ts" , "./f1.ts" , "./f2.ts" , "./new-file.ts" ] , "fileInfos" :[ { "version" :"-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }" , "affectsGlobalScope" :true } , { "version" :"-10906998252-export const x = 1" , "signature" :"-7495133367-export declare const x = 1;\n" } , { "version" :"-10905812331-export const y = 1" , "signature" :"-6203665398-export declare const y = 1;\n" } , { "version" :"-11960320495-export const z = 1;" , "signature" :"-9207164725-export declare const z = 1;\n" } ] , "options" :{ "composite" :true } , "referencedMap" :[ ] , "exportedModulesMap" :[ ] , "semanticDiagnosticsPerFile" :[ 1 , 2 , 3 , 4 ] } , "version" :"FakeTSVersion" }
216
+
217
+ //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt]
218
+ {
219
+ "program" : {
220
+ "fileNames" : [
221
+ "../../../../a/lib/lib.d.ts" ,
222
+ "./f1.ts" ,
223
+ "./f2.ts" ,
224
+ "./new-file.ts"
225
+ ] ,
226
+ "fileInfos" : {
227
+ "../../../../a/lib/lib.d.ts" : {
228
+ "version" : "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }" ,
229
+ "signature" : "-7698705165-/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }" ,
230
+ "affectsGlobalScope" : true
231
+ } ,
232
+ "./f1.ts" : {
233
+ "version" : "-10906998252-export const x = 1" ,
234
+ "signature" : "-7495133367-export declare const x = 1;\n"
235
+ } ,
236
+ "./f2.ts" : {
237
+ "version" : "-10905812331-export const y = 1" ,
238
+ "signature" : "-6203665398-export declare const y = 1;\n"
239
+ } ,
240
+ "./new-file.ts" : {
241
+ "version" : "-11960320495-export const z = 1;" ,
242
+ "signature" : "-9207164725-export declare const z = 1;\n"
243
+ }
244
+ } ,
245
+ "options" : {
246
+ "composite" : true
247
+ } ,
248
+ "referencedMap" : { } ,
249
+ "exportedModulesMap" : { } ,
250
+ "semanticDiagnosticsPerFile" : [
251
+ "../../../../a/lib/lib.d.ts" ,
252
+ "./f1.ts" ,
253
+ "./f2.ts" ,
254
+ "./new-file.ts"
255
+ ]
256
+ } ,
257
+ "version" : "FakeTSVersion" ,
258
+ "size" : 949
259
+ }
260
+
261
+ //// [/user/username/projects/myproject/new-file.js]
262
+ "use strict ";
263
+ exports . __esModule = true ;
264
+ exports . z = void 0 ;
265
+ exports . z = 1 ;
266
+
267
+
268
+ //// [/user/username/projects/myproject/new-file.d.ts]
269
+ export declare const z = 1 ;
270
+
271
+
171
272
172
273
Change :: Import new file
173
274
@@ -180,23 +281,18 @@ Output::
180
281
FileWatcher :: Triggered with / user / username / projects / myproject / f1 . ts 1 :: WatchInfo : / user / username / projects / myproject / f1 . ts 250 undefined Source file
181
282
Scheduling update
182
283
Elapsed :: * ms FileWatcher :: Triggered with / user / username / projects / myproject / f1 . ts 1 :: WatchInfo : / user / username / projects / myproject / f1 . ts 250 undefined Source file
284
+ Reloading new file names and options
183
285
Synchronizing program
184
- [ [ 90 m12 :00 :41 AM [ 0 m ] File change detected . Starting incremental compilation ...
286
+ [ [ 90 m12 :00 :53 AM [ 0 m ] File change detected . Starting incremental compilation ...
185
287
186
288
CreatingProgramWith ::
187
- roots : [ "/ user / username / projects / myproject / f1 . ts ", "/ user / username / projects / myproject / f2 . ts "]
289
+ roots : [ "/ user / username / projects / myproject / f1 . ts ", "/ user / username / projects / myproject / f2 . ts ", " / user / username / projects / myproject / new - file . ts " ]
188
290
options : { "composite ":true , "watch ":true , "extendedDiagnostics ":true , "configFilePath ":"/ user / username / projects / myproject / tsconfig . json "}
189
- FileWatcher :: Added :: WatchInfo : / user / username / projects / myproject / new - file . ts 250 undefined Source file
190
- [ 96 mf1 . ts [ 0 m :[ 93 m1 [ 0 m :[ 93 m19 [ 0 m - [ 91 merror [ 0 m [ 90 m TS6307 : [ 0 mFile '/ user / username / projects / myproject / new - file . ts ' is not listed within the file list of project '/ user / username / projects / myproject / tsconfig . json '. Projects must list all files or use an 'include ' pattern .
191
-
192
- [ 7 m1 [ 0 m import { z } from ". / new - file "; export const x = 1
193
- [ 7 m [ 0 m [ 91 m ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [ 0 m
194
-
195
- [ [ 90 m12 :00 :55 AM [ 0 m ] Found 1 error . Watching for file changes .
291
+ [ [ 90 m12 :01 :03 AM [ 0 m ] Found 0 errors . Watching for file changes .
196
292
197
293
198
294
199
- Program root files : [ "/ user / username / projects / myproject / f1 . ts ", "/ user / username / projects / myproject / f2 . ts "]
295
+ Program root files : [ "/ user / username / projects / myproject / f1 . ts ", "/ user / username / projects / myproject / f2 . ts ", " / user / username / projects / myproject / new - file . ts " ]
200
296
Program options : { "composite ":true , "watch ":true , "extendedDiagnostics ":true , "configFilePath ":"/ user / username / projects / myproject / tsconfig . json "}
201
297
Program structureReused : SafeModules
202
298
Program files ::
@@ -206,11 +302,9 @@ Program files::
206
302
/ user / username / projects / myproject / f2 . ts
207
303
208
304
Semantic diagnostics in builder refreshed for ::
209
- / user / username / projects / myproject / new - file . ts
210
305
/ user / username / projects / myproject / f1 . ts
211
306
212
307
Shape signatures in builder refreshed for ::
213
- / user / username / projects / myproject / new - file . ts ( computed . d . ts )
214
308
/ user / username / projects / myproject / f1 . ts ( computed . d . ts )
215
309
216
310
WatchedFiles ::
@@ -230,6 +324,8 @@ FsWatches::
230
324
FsWatchesRecursive ::
231
325
/ user / username / projects / myproject / node_modules / @types :
232
326
{ "directoryName ":"/ user / username / projects / myproject / node_modules / @types ", "fallbackPollingInterval ":500 , "fallbackOptions ":{ "watchFile ":"PriorityPollingInterval "} }
327
+ / user / username / projects / myproject :
328
+ { "directoryName ":"/ user / username / projects / myproject ", "fallbackPollingInterval ":500 , "fallbackOptions ":{ "watchFile ":"PriorityPollingInterval "} }
233
329
234
330
exitCode :: ExitStatus . undefined
235
331
@@ -291,14 +387,3 @@ exitCode:: ExitStatus.undefined
291
387
"size" : 1005
292
388
}
293
389
294
- //// [/user/username/projects/myproject/new-file.js]
295
- "use strict" ;
296
- exports . __esModule = true ;
297
- exports . z = void 0 ;
298
- exports . z = 1 ;
299
-
300
-
301
- //// [/user/username/projects/myproject/new-file.d.ts]
302
- export declare const z = 1 ;
303
-
304
-
0 commit comments