Skip to content

Commit

Permalink
Merge b0bb70c into 60b46dd
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwestendorf committed Jan 14, 2020
2 parents 60b46dd + b0bb70c commit 736a614
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.js
Expand Up @@ -14,7 +14,12 @@ ChromeLauncher.launch({
port: 9222,
connectionPollInterval: 10
}).then((chrome) => {
console.log(`Chrome debugging port running on ${chrome.port}`);
console.log(`Chrome debugging port running on ${chrome.port}`)

chrome.process.on('close', (code) => {
console.error(`Chrome process closed with code ${code}`);
process.exit(code);
})

webServer.start()
console.log('Starting web server...')
Expand Down

0 comments on commit 736a614

Please sign in to comment.