anchor.diff:    });
   }
   
  -serve(Core core, bool serveBuild, int port) {
  +serve(Core core, bool serveBuild, String bindIp, int port) {
     var projroot = dirname(dirname(Platform.script.toFilePath()));
     if(serveBuild) {
       projroot = "$projroot/build";
  
positive.code:   } else {
      port = int.parse(portEnv);
    }
    print("Starting core");
    Core.startUp(redisConnectionString).then((core) {
      serve(core, deployed, port);
    });
  }
  
negative.code:     return (req) => vd.serveFile(new File(join(webroot, fn)), req);
    }
  
    HttpServer.bind(bindIp, port)
        .then((HttpServer server) {
      print('listening on localhost, port ${server.port}');
      var httpReqStream = server.transform(new StreamTransformer.fromHandlers(
        handleData: (HttpRequest req, EventSink<HttpRequest> sink) {
          print("got request ${req.uri}");
          sink.add(req);
      }));
      var router = new Router(httpReqStream)
        ..serve(urls.index).listen(serveFile('index.html'))
        ..serve(urls.create).listen(createMindMap)
        ..serve(urls.test).listen(serveTest)
  