On Mon, Feb 24, 2014 at 10:33:16AM +0000, Gabriel Kerneis wrote: > > []:undefined - Babel socket close: reconnecting in 1 second. > > In particular, I don't understand at all what part of the code is > generating the "[]: undefined - " characters.
Ah, you are using babelweb from github, not the release installed by npm! Again, if you don't give me the exact steps that you followed to install and launch babelweb, I cannot really help you. It looks the url.parse function fails to parse the "routers" option to get an IP address and a host to connect to. You can apply the following patch to try and debug the issue: diff --git a/server.js b/server.js index eb07f85..008105b 100644 --- a/server.js +++ b/server.js @@ -57,7 +57,9 @@ var babelNode = require('./babelNode'); var url = require('url'); var routers = config.routers.split(',').map(function(r) { + console.log("parsing router string: " + r); var u = url.parse("ip:" + r); + console.log("parsed values: port=" + u.port + ", host="+u.hostname); return babelNode.connect({port: u.port, host: u.hostname}); }); You can also try to start babelweb with an explicit routers option to see if that helps: $ bin/babelweb routers="[::1]:33123" Best, -- Gabriel _______________________________________________ Babel-users mailing list Babel-users@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/babel-users