opened
arcanis
username_0
**What's the problem this PR addresses?**

The current locking mechanism was fairly dumb, so calling `^C` during an install was locking you out of Yarn unless you knew how to remove the lingering lock files.

**How did you fix it?**

- The process PID is now stored within the lock files
- If no process with the specified PID exists, Yarn will exit
- If a process exist, or if it can't read the lock file as JSON, Yarn will wait
- The `.lock` extension is changed into `.flock` (to avoid ambiguity with `yarn.lock`)
Improves the lock mechanism
issue
created
arcanis
username_0
The checked-in binary has to be updated because I've also updated the cache entry for `favicons-webpack-plugin` (it was previously invalid, and was fixed in #497).
comment
created
mischnic
username_1
❤️
comment