Skip to content

Conversation

@mrcrane
Copy link
Contributor

@mrcrane mrcrane commented Jul 14, 2020

Do not rely on the default module resolution algorithm to load the optional typescript-etw module. Load it from the node_modules path that is local to the running server. This is where it is shipped with the Windows TypeScript SDK.

Also allow the path to be specified with the TS_ETW_MODULE_PATH environment variable. This will enable new use cases, e.g. VS Code.

@RyanCavanaugh
Copy link
Member

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

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jul 14, 2020

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

@typescript-bot
Copy link
Collaborator

Hey @RyanCavanaugh, I've opened #39601 for you.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Jul 14, 2020
Component commits:
c8d5b98 Load ETW module from a specified path
@RyanCavanaugh
Copy link
Member

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

@typescript-bot
Copy link
Collaborator

typescript-bot commented Jul 14, 2020

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

@typescript-bot
Copy link
Collaborator

Hey @RyanCavanaugh, 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-3.9 manually.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Jul 14, 2020
Component commits:
c8d5b98 Load ETW module from a specified path
RyanCavanaugh pushed a commit that referenced this pull request Jul 14, 2020
Component commits:
c8d5b98 Load ETW module from a specified path

Co-authored-by: Michael Crane <[email protected]>
@RyanCavanaugh RyanCavanaugh merged commit f68a839 into microsoft:master Jul 14, 2020
@DanielRosenwasser DanielRosenwasser added this to the TypeScript 3.9.7 milestone Jul 16, 2020
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants