microsoft / microsoft/TypeScript

TypeScript VS: Doesn't re-transpile file when source-control revert-changes

Open
#20,644 9 comments 0 reactions 2 assignees View on GitHub

@HannahOshlag is already working on this.

Since Sep 2, 2022.

Needs Investigation Visual Studio
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

TypeScript integration in Visual Studio 2017:

When I change a typescript-file in a visual studio project ( that is in TFS source control )
then I decide to abandon the change (revert changes from right-click context menu)
then Visual Studio correctly replaces the local typescript-file with the server version.
But it doesn't re-transpile the changed file.

"compileOnSave": true,

also, the option should then be called/added "compileOnChange", not compileOnSave...
Because apparently, these two things are not the same, which i find somewhat surprising...
although ...

Consequence is, the JavaScript file doesn't run as it should when debugging.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.