CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 13:42:07 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/TypeScript.git
etag: W/"23d607ffc2e77297c1edceb18675335b"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=UfkIb3Algw%2BwbGxpg6WjJNA2Qce5T4WEmkQ9j27%2FBfhwAnFdO7or7yqqBmDG5YFwhEay69gL9rC4a2Aj8rhzaOoosooZA%2BlVkL2QKw4T9S5frvRg0MdqHT1OiZix7ahEa2hpMh0I4kNR3APNlvgDxS28sjj19UnXVU%2F35OUvrZaEdd80bQn1IGEe5Ft9rnKD2h%2F4ZE8gYF3MM9kIwqmHZ6EtXYor%2BKEUx0TmNi1CwETAwysRLBQtxiDu2PxlqYWsyCK7eWsuexau%2BTRRK1CwkA%3D%3D--SwU1bgSPLi9RU6rp--j5mgaynE5iuQdXoTDKUaXA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1388337822.1752932525; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 13:42:05 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 13:42:05 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E4AC:0A55:4B64B1:5D63B2:687BA0AD
Always recreate the file watcher when rename event occurs (#48997) · microsoft/TypeScript@f5ad787 · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/harness/virtualFileSystemWithWatch.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tsbuildWatch/noEmit.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tscWatch/emit.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tscWatch/forceConsistentCasingInFileNames.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tscWatch/helpers.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tscWatch/watchEnvironment.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit f5ad787
authored
Always recreate the file watcher when rename event occurs (#48997)
* Convert some of the watchEnvironment tests to baselines for updating later
* Add tests for inode watching by making fsWatch part of system function that tests presence before creating fs watch
* Refactor for simpler tests
* Accept map of file content or file or symlink or folder
* Add test when rename event occurs when file has already reappeared
* On rename event for the file, replace file watcher irrespective of file presence
* Fix regex
* Ensure that when doing inode watching watchers is replaces only on disappearance or appearance
* Some logging for debugging further
* Revert "Some logging for debugging further"
This reverts commit dd2164a.
* Add test when rename event occurs on mac with ~ appended to file name
* If the relativeFileName ends with tilde, remove it from the event
* Some logging for debugging further
* Revert "Some logging for debugging further"
This reverts commit e1ba8a8.
* Add documentation and fail safe the event firing1 parent ce63935 commit f5ad787Copy full SHA for f5ad787
File tree
Expand file treeCollapse file tree
541 files changed
+43236
-7794
lines changedFilter options
- src
- compiler
- harness
- testRunner/unittests
- tsbuildWatch
- tscWatch
- tsserver
- events
- tests/baselines/reference
- tsbuildWatch
- demo
- moduleResolution
- noEmitOnError
- noEmit
- programUpdates
- reportErrors
- declarationEmitErrors
- introduceError
- with-circular-project-reference
- with-simple-project-reference-graph
- projectsBuilding
- publicApi
- reexport
- watchEnvironment
- tscWatch
- consoleClearing/when-preserveWatchOutput-is-true-in-config-file
- emitAndErrorUpdates
- assumeChangesOnlyAffectDirectDependenciesAndD
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- assumeChangesOnlyAffectDirectDependencies
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- defaultAndD
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- default
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- isolatedModulesAndD
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- isolatedModules
- deepImportChanges
- transitive-exports
- no-circular-import
- yes-circular-import
- emit
- emit-file-content
- emit-for-configured-projects
- emit-with-outFile-or-out-setting
- when-module-emit-is-specified-as-node
- forceConsistentCasingInFileNames
- incremental
- module-compilation
- own-file-emit-without-errors
- moduleResolution
- nodenext watch emit
- programUpdates
- should-not-trigger-recompilation-because-of-program-emit
- updates-errors-in-lib-file
- when-module-file-with-global-definitions-changes
- when-non-module-file-changes
- projectsWithReferences
- resolutionCache
- ignores-changes-in-node_modules-that-start-with-dot
- sourceOfProjectReferenceRedirect
- watchApi
- watchEnvironment
- fsWatch
- watchDirectories
- watchFile
- watchOptions
- tsserver
- cachingFileSystemInformation
- configFileSearch
- configuredProjects
- inferredProjects
- moduleSpecifierCache
- partialSemanticServer
- projectErrors
- projectReferencesSourcemap
- dependencyAndUsage
- configHasNoReference
- configWithReference
- disabledSourceRef
- dependency
- configHasNoReference
- configWithReference
- disabledSourceRef
- usageProject
- configHasNoReference
- configWithReference
- disabledSourceRef
- projectUpdatedInBackground
- projectsWithReferences
- projects
- resolutionCache
- symLinks
- syntacticServer
- typingsInstaller
- watchEnvironment
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
541 files changed
+43236
-7794
lines changed+179-145Lines changed: 179 additions & 145 deletions
Large diffs are not rendered by default.
src/harness/virtualFileSystemWithWatch.ts
Copy file name to clipboardExpand all lines: src/harness/virtualFileSystemWithWatch.ts+159-234Lines changed: 159 additions & 234 deletions
Large diffs are not rendered by default.
src/testRunner/unittests/tsbuildWatch/noEmit.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tsbuildWatch/noEmit.ts+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
14 | 13 |
| |
15 | 14 |
| |
16 | 15 |
| |
|
src/testRunner/unittests/tscWatch/emit.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tscWatch/emit.ts+6-15Lines changed: 6 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
24 | 15 |
| |
25 | 16 |
| |
26 | 17 |
| |
|
src/testRunner/unittests/tscWatch/forceConsistentCasingInFileNames.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tscWatch/forceConsistentCasingInFileNames.ts+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
|
src/testRunner/unittests/tscWatch/helpers.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tscWatch/helpers.ts+1-5Lines changed: 1 addition & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 | 10 |
| |
15 | 11 |
| |
16 | 12 |
| |
| |||
436 | 432 |
| |
437 | 433 |
| |
438 | 434 |
| |
439 |
| - | |
| 435 | + | |
440 | 436 |
| |
441 | 437 |
| |
442 | 438 |
|
src/testRunner/unittests/tscWatch/watchEnvironment.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tscWatch/watchEnvironment.ts+136Lines changed: 136 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
581 | 581 |
| |
582 | 582 |
| |
583 | 583 |
| |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
584 | 720 |
| |
585 | 721 |
|
You can’t perform that action at this time.
0 commit comments