Rebuild only TypeScript projects when the compiler settings are changed.

On workspaces with lots of projects, where only some of them are TypeScript, it saves a lot of time when changing the compiler options.