microsoft / microsoft/TypeScript
tsc is not resposive to `ctrl-c`
@jakebailey ci sta già lavorando.
Dal 15/7/2026.
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.3k
- Merge medio
- 2g 4h
- PR unite (30g)
- 132
Descrizione
When you run tsc and attempt to interrupt a build it does not respond instead it just complets the build
This is because typescript-go installs [signal handlers](https://github.com/microsoft/typescript-go/blob/8a749379d556f1bb4044218a1f94bc90fbfb6a03/cmd/tsgo/main.go#L28) to propagate sigterm and sigint to the `context.Context` object
However this is not always threaded all the way through the build
I prepared https://github.com/microsoft/typescript-go/pull/4592 to fix this, but the fix is non-trivial
Alternatively should we just _not_ install signal handlers and let normal behavior proceed?
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.