Review main Merged

63019[TASK] Improve consecutive build performance

Andreas Kienast CR +2 V +2 Easy +26 −10 updated 01/24/20, 10:23

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2