Commit c2519bb
authored
When there is no change in file text for program, no need to update program (#51626)
* When fsEvent for change is repeated
* When trying to check if program is uptodate, read the files from disk to determine the version instead of delaying so that new program is not created if file contents have not changed1 parent af36a85 commit c2519bb
File tree
19 files changed
+264
-911
lines changed- src
- compiler
- testRunner/unittests
- tscWatch
- tests/baselines/reference/tscWatch
- emitAndErrorUpdates
- assumeChangesOnlyAffectDirectDependenciesAndD
- assumeChangesOnlyAffectDirectDependencies
- defaultAndD
- default
- isolatedModulesAndD
- isolatedModules
- watchApi
- watchEnvironment
19 files changed
+264
-911
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
742 | | - | |
| 742 | + | |
743 | 743 | | |
744 | | - | |
| 744 | + | |
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
| 771 | + | |
771 | 772 | | |
772 | 773 | | |
773 | 774 | | |
| |||
810 | 811 | | |
811 | 812 | | |
812 | 813 | | |
813 | | - | |
| 814 | + | |
814 | 815 | | |
815 | 816 | | |
816 | 817 | | |
817 | 818 | | |
818 | | - | |
| 819 | + | |
819 | 820 | | |
820 | 821 | | |
821 | 822 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
124 | | - | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
429 | 430 | | |
430 | 431 | | |
431 | 432 | | |
432 | | - | |
| 433 | + | |
433 | 434 | | |
434 | 435 | | |
435 | 436 | | |
| |||
551 | 552 | | |
552 | 553 | | |
553 | 554 | | |
554 | | - | |
| 555 | + | |
555 | 556 | | |
556 | | - | |
| 557 | + | |
557 | 558 | | |
558 | 559 | | |
559 | 560 | | |
| |||
708 | 709 | | |
709 | 710 | | |
710 | 711 | | |
711 | | - | |
| 712 | + | |
712 | 713 | | |
713 | | - | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
714 | 719 | | |
715 | 720 | | |
716 | 721 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
705 | 727 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
| 689 | + | |
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
| |||
Lines changed: 6 additions & 73 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | 186 | | |
211 | 187 | | |
212 | 188 | | |
| |||
243 | 219 | | |
244 | 220 | | |
245 | 221 | | |
246 | | - | |
| 222 | + | |
247 | 223 | | |
248 | | - | |
| 224 | + | |
249 | 225 | | |
250 | 226 | | |
251 | 227 | | |
| |||
382 | 358 | | |
383 | 359 | | |
384 | 360 | | |
385 | | - | |
| 361 | + | |
386 | 362 | | |
387 | 363 | | |
388 | 364 | | |
389 | 365 | | |
390 | 366 | | |
391 | 367 | | |
392 | | - | |
| 368 | + | |
393 | 369 | | |
394 | 370 | | |
395 | 371 | | |
| |||
521 | 497 | | |
522 | 498 | | |
523 | 499 | | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | 500 | | |
549 | 501 | | |
550 | 502 | | |
| |||
579 | 531 | | |
580 | 532 | | |
581 | 533 | | |
582 | | - | |
| 534 | + | |
583 | 535 | | |
584 | | - | |
| 536 | + | |
585 | 537 | | |
586 | 538 | | |
587 | 539 | | |
| |||
701 | 653 | | |
702 | 654 | | |
703 | 655 | | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | 656 | | |
724 | 657 | | |
725 | 658 | | |
| |||
Lines changed: 6 additions & 73 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | 106 | | |
131 | 107 | | |
132 | 108 | | |
| |||
163 | 139 | | |
164 | 140 | | |
165 | 141 | | |
166 | | - | |
| 142 | + | |
167 | 143 | | |
168 | | - | |
| 144 | + | |
169 | 145 | | |
170 | 146 | | |
171 | 147 | | |
| |||
236 | 212 | | |
237 | 213 | | |
238 | 214 | | |
239 | | - | |
| 215 | + | |
240 | 216 | | |
241 | 217 | | |
242 | 218 | | |
243 | 219 | | |
244 | 220 | | |
245 | 221 | | |
246 | | - | |
| 222 | + | |
247 | 223 | | |
248 | 224 | | |
249 | 225 | | |
| |||
291 | 267 | | |
292 | 268 | | |
293 | 269 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | 270 | | |
319 | 271 | | |
320 | 272 | | |
| |||
349 | 301 | | |
350 | 302 | | |
351 | 303 | | |
352 | | - | |
| 304 | + | |
353 | 305 | | |
354 | | - | |
| 306 | + | |
355 | 307 | | |
356 | 308 | | |
357 | 309 | | |
| |||
405 | 357 | | |
406 | 358 | | |
407 | 359 | | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | 360 | | |
428 | 361 | | |
429 | 362 | | |
| |||
0 commit comments