
This limitation mayĪlso be removable in the future if we decide to add a filter on the files to use when calculating

it only reuses files found in the local directory.it requires you to specify the dependant projects, even though they can be read from package.json.This means that the toplevel application packages cannot easily be included in the project mode and have to be compiled separately. it requires that all modules compile with declarations.With the introduction of project mode, local caching was added, however, it has 3 significant restrictions: The next time the compiler is invoked for a particular module, the cached output will be re-used if all the inputs are the same (checked with git hash-object, sha1). It will store the compiled files in a cache directory at $CTSC_CACHE_DIR (default to /tmp/ctsc). This acts as a drop-in replacement for TypeScript's own tsc.

Alternatively, use turborepo which has pretty good caching for any sort of command: ctscĮxperimental caching TypeScript compiler suitable for monorepos and CI. Please use tsc project mode - it should now be mature enough to work well in most situations.
