fix(ngcc): add process title (#36448)

Add process.title, so it's clearly in the task manager when ngcc is running

See: https://github.com/angular/angular/issues/36414#issuecomment-609644282

PR Close #36448
This commit is contained in:
Alan Agius 2020-04-06 10:43:47 +02:00 committed by Kara Erickson
parent 4c7f89ff6d
commit 76a8cd57ae
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ import {LogLevel} from './src/logging/logger';
// CLI entry point // CLI entry point
if (require.main === module) { if (require.main === module) {
process.title = 'ngcc';
const startTime = Date.now(); const startTime = Date.now();
const args = process.argv.slice(2); const args = process.argv.slice(2);