mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix disappearance of debug banner when running meteor debug.
This was broken due to a change in Node.js which enabled support for using `--debug` in combination with IPv6 addresses.
This commit is contained in:
@@ -145,7 +145,7 @@ DEp.connectToChildProcess = function connectToChildProcess(child) {
|
||||
// port (not debugPort!), and create a connection to that port so that
|
||||
// the child process can communicate with node-inspector.
|
||||
child.stderr.on("data", function onData(buffer) {
|
||||
var match = /debugger listening on port (\d+)/i
|
||||
var match = /debugger listening on .+:(\d+)\n/i
|
||||
.exec(buffer.toString("utf8"));
|
||||
if (match) {
|
||||
child.stderr.removeListener("data", onData);
|
||||
|
||||
@@ -106,7 +106,7 @@ _.extend(AppProcess.prototype, {
|
||||
|
||||
eachline(self.proc.stderr, 'utf8', async function (line) {
|
||||
if (self.debugPort &&
|
||||
line.indexOf("debugger listening on port ") >= 0) {
|
||||
line.indexOf("Debugger listening on") >= 0) {
|
||||
Console.enableProgressDisplay(false);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user