TypeScript Version: 3.0.0-dev.20180616 and 2.9.2
Search Terms: typescript watch --watch hangs stalls slow
Hi I have minimized one of my projects to an example source (which I have attached [1]) that:
- Compile fine when not using watch mode (takes about 5 seconds to compile on my machine)
- Hangs the compiler when using watch mode (doesn't complete it's compile).
To compile the example:
- download the zip and unzip it and enter that directory
- run
yarn install to add the project's deps.
3a. run yarn tsc-ok for the example where it does compile
3b. run yarn tsc-bad for the example where it doesn't
BTW: Is there some way for me to tell the compiler to dump out the source files it is processing as it processes them? It would be extremely helpful for tracking this down to the specific issue.
1: Source Code: tsc-watch-hangs.zip
TypeScript Version: 3.0.0-dev.20180616 and 2.9.2
Search Terms: typescript watch --watch hangs stalls slow
Hi I have minimized one of my projects to an example source (which I have attached [1]) that:
To compile the example:
yarn installto add the project's deps.3a. run
yarn tsc-okfor the example where it does compile3b. run
yarn tsc-badfor the example where it doesn'tBTW: Is there some way for me to tell the compiler to dump out the source files it is processing as it processes them? It would be extremely helpful for tracking this down to the specific issue.
1: Source Code: tsc-watch-hangs.zip