[x] Code changes are only for the relevant bug fix or feature
[x] New code lints (via npm run lint) without any errors or warnings
[x] The corresponding issue is #75
Description
When running timecut, the SIGINT event stops working as expected. Puppeteer has a launchoption to not handle SIGINT (defaults to closing the browser process): https://pptr.dev/api/puppeteer.launchoptions.handlesigint.
This fix will be useful if you want to be able to make sure a capture completes before terminating the process.
Checklist
npm run lint
) without any errors or warningsDescription
When running timecut, the SIGINT event stops working as expected. Puppeteer has a launchoption to not handle SIGINT (defaults to closing the browser process): https://pptr.dev/api/puppeteer.launchoptions.handlesigint. This fix will be useful if you want to be able to make sure a capture completes before terminating the process.