To improve the consecutive build experience, several caches now kick in
to only lint and compile files that are necessary.
Following changes are done in this patch:
- added cache for eslint
- build TypeScript incremental
- don't mangle TypeScript twice in a full build
To be able to utilize the `--incremental` feature of TypeScript,
generated files are not removed anymore before a build, since TypeScript
needs the previously compiled files for comparision.
The `tsclean` grunt task has been renamed to `clear-build` and is now
executed right before any *full* build.
Side note: on the patch authors machine, the command `grunt scripts`
went from ~30 seconds to ~8 seconds after second invokation.