Skip to content

Commit 121e842

Browse files
committed
Add comments
1 parent 4445777 commit 121e842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connect.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ const browserWSEndpoint = process.env.wsURL || null;
4343

4444
if (!browserWSEndpoint) {
4545
const browser = await puppeteer.launch({
46-
handleSIGINT: false,
47-
headless: false
46+
handleSIGINT: false, // so Chrome doesn't exit when we quit Node.
47+
headless: false // to see what's happening
4848
});
4949

5050
console.log('1. Quit this script (cmd/ctrl+C).');

0 commit comments

Comments
 (0)