angular-cn/packages/compiler-cli/ngcc/test/locking
Terence D. Honles 561c0f81a0 perf(ngcc): allow immediately reporting a stale lock file (#37250)
Currently, if an ngcc process is killed in a manner that it doesn't clean
up its lock file (or is killed too quickly) the compiler reports that it
is waiting on the PID of a process that doesn't exist, and that it will
wait up to a maximum of N seconds. This PR updates the locking code to
additionally check if the process exists, and if it does not it will
immediately bail out, and print the location of the lock file so a user
may clean it up.

PR Close #37250
2020-06-02 17:30:03 -04:00
..
lockfile_with_child_process build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
async_locker_spec.ts perf(ngcc): allow immediately reporting a stale lock file (#37250) 2020-06-02 17:30:03 -04:00
sync_locker_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00