Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
fix: look for generic hint text
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgav authored and Jan Krems committed Apr 14, 2017
1 parent ad0dd3c commit 42e0cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function runScript(script, scriptArgs, inspectHost, inspectPort, childPrint) {
let output = '';
function waitForListenHint(text) {
output += text;
if (/chrome-devtools:\/\//.test(output)) {
if (/Debugger listening on/.test(output)) {
child.stderr.removeListener('data', waitForListenHint);
resolve(child);
}
Expand Down

0 comments on commit 42e0cd1

Please sign in to comment.