TypeScript won't compile all referenced files unless I open them Follow
I use requireJS and my .ts files reference each other. I did not change anything recently but TS just like that stopped to compile files unless I open them and directly look at them. Only then will it find errors for instance. My tsconfig.json looks like this:
"target" : "ES5",
"noEmitOnError" : false,
Help me Obi-wan Kenobi, you are my only hope!
Please sign in to leave a comment.
When using TypeScript service, all dependent files are not sent to server on re-highlighting the current file - it would be too expensive:(
Thanks for the quick response.
It certainly used to be that way, after a making change in one file all dependant files would be checked for type errors.
What are my options now?
You can try using Compile All to see all errors