8000 Only set package data map under watch mode by weswigham · Pull Request #46211 · microsoft/TypeScript · GitHub
[go: up one dir, main page]

Skip to content

Only set package data map under watch mode#46211

Merged
weswigham merged 1 commit intomicrosoft:mainfrom
weswigham:only-set-package-realpaths-in-watch-mode
Oct 5, 2021
Merged

Only set package data map under watch mode#46211
weswigham merged 1 commit intomicrosoft:mainfrom
weswigham:only-set-package-realpaths-in-watch-mode

Conversation

@weswigham
Copy link
Member

Since they're only used to make watchers in watch mode, the map can be left empty if the watch flag is unset. While we should still take #46209 or #46208 (pending one or both of them fixing the perf issues) to improve watch mode perf, this change should limit the impact of the remaining realpath calls to only the mode they're actually needed for.

@weswigham weswigham force-pushed the only-set-package-realpaths-in-watch-mode branch from 1f624f3 to f17c7fd Compare October 5, 2021 17:32
@weswigham weswigham merged commit 47cd4d3 into microsoft:main Oct 5, 2021
@amcasey
Copy link
Member
amcasey commented Oct 5, 2021

Seems right. 👍

@DanielRosenwasser
Copy link
Member

@typescript-bot cherry-pick this to release-4.4

@typescript-bot
Copy link
Collaborator
typescript-bot commented Oct 5, 2021

Heya @DanielRosenwasser, I've started to run the task to cherry-pick this into release-4.4 on this PR at f17c7fd. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @DanielRosenwasser, I couldn't open a PR with the cherry-pick. (You can check the log here). You may need to squash and pick this PR into release-4.4 manually.

DanielRosenwasser added a commit that referenced this pull request Oct 6, 2021
Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0