Closed everflux closed 7 years ago
It should already work, as long as the change happens while the project is open.
I had the files changed while NB was closed. Perhaps something like timestamp checking when a project is opened could be done? (Or compiling everything when project is opened to force consistency?)
If possible it would be great if similar to maven (or custom grunt) task functionality "clean" and "compile/build all" would be provided. In that case it is easy to recover from external changes that are not detected.
In 2.1.4.1 I've added a "compile file" command to each .ts file's context menu. But TypeScript's language service API isn't suited for compiling a whole project, since it takes a single input file and writes all affected output files. So calling it on every file in the project is potentially very inefficient when output files are shared.
Compile-on-save is really a convenience for testing small changes and shouldn't be the main way of building a project.
It would be great if the compilation could be triggered by external changes, especially