microsoft / microsoft/TypeScript

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

Aperta
#20,644 9 commenti 0 reazioni 2 assegnatari Vedi su GitHub

@HannahOshlag ci sta già lavorando.

Dal 2/9/2022.

Needs Investigation Visual Studio
Lingua principale
Go
Stelle
111k
Fork
14.3k
Merge medio
1g 19h
PR unite (30g)
117

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.