microsoft / microsoft/TypeScript
npx tsc -w is triggering itself after each build
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Go
- Estrellas
- 111k
- Forks
- 14.3k
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 132
Descripción
🔎 Search Terms
No amount of exclude or watchOptions seems to have any impact.
I am outputting my JavaScript files along side my TS files, which is what I want, I don't know why it keeps retriggering itself
Output looks like this
> npx tsc --watch --extendedDiagnostics
[08:05:29 PM] Starting compilation in watch mode...
[08:05:29 PM] Found 0 errors. Watching for file changes.
[08:05:29 PM] File change detected. Starting incremental compilation...
[08:05:30 PM] Found 0 errors. Watching for file changes.
[08:05:30 PM] File change detected. Starting incremental compilation...
[08:05:31 PM] Found 0 errors. Watching for file changes.
[08:05:31 PM] File change detected. Starting incremental compilation...
[08:05:31 PM] Found 0 errors. Watching for file changes.
[08:05:32 PM] File change detected. Starting incremental compilation...
[08:05:32 PM] Found 0 errors. Watching for file changes.
npx tsc --showConfig doesn't show any watchOptions not sure if they are getting picked up
🕗 Version & Regression Information
"name": "@typescript/typescript-win32-x64",
"version": "7.0.2",
⏯ Playground Link
No response
💻 Code
No response
🙁 Actual behavior
tsc -w triggers itself in a loop
🙂 Expected behavior
tsc -w doesn't triggers itself in a loop
Additional information about the issue
No response
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Start by reproducing the loop with the reported npx tsc --watch --extendedDiagnostics command and the project configuration that emits JavaScript beside TypeScript files. Inspect how watchOptions and emitted files interact with watch mode; done means compilation completes without detecting its own output as repeated file changes.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- build-system, compilers
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100