Skip to content
Snippets Groups Projects
Commit 09506a07 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

tighten up regex matched against console output to detect when browserid process is fully started

parent d054b8eb
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ function setupProc(proc) {
}
var tokenRegex = new RegExp('token=([A-Za-z0-9]+)$', 'm');
if (!sentReady && /^browserid.*127\.0\.0\.1:10002/.test(x)) {
if (!sentReady && /^browserid.*127\.0\.0\.1:10002$/.test(x)) {
exports.browserid.emit('ready');
sentReady = true;
} else if (m = tokenRegex.exec(x)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment