bug: Ctrl-C doesn't work if just requiring proper-lockfile
aslushnikov opened this issue · 0 comments
aslushnikov commented
Consider the following snippet:
const properLockfile = require('proper-lockfile'); // 1
for (let i = 0; i < 1_000_000; i += 1)
console.log(i);
It take a few seconds to run the snippet. Unfortunately, hitting Ctrl-C
to abort execution does not work.
However, when removing the (1) line with proper-lockfile
require, Ctrl-C
would work as expected.
This has been reported to us downstream at Playwright: microsoft/playwright#19418