From 42e0cd111d89ed09faba1c0ec45089b0b44de011 Mon Sep 17 00:00:00 2001 From: Josh Gavant Date: Fri, 14 Apr 2017 09:32:39 -0700 Subject: [PATCH] fix: look for generic hint text --- lib/_inspect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_inspect.js b/lib/_inspect.js index 062cd12..2691227 100644 --- a/lib/_inspect.js +++ b/lib/_inspect.js @@ -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); }