CompileOnSave first load experience #17703
Labels
Question
An issue which isn't directly actionable in code
VS Code Tracked
There is a VS Code equivalent to this issue
Problem
I'm investigating adding support for compileOnSave to VSCode: microsoft/vscode#32103 . The existing api seems to work well recompiling a file after it changes, but I have a few questions:
When a project is first loaded, we only display errors for file that have been loaded in the editor. Even after recompiling a file, we only get the errors for its dependencies, and not all possible errors in the project.
When a file is changed, we only recompile that file and its dependencies. This is also how atom-typescript works and seems to be what the API is designed for. However, this may result in the compiled files being missing or in an inconsistent state. A better behavior would be that we recompile the entire project whenever a file in it changes.
Questions
tsc
first?The text was updated successfully, but these errors were encountered: