public void launch() {
if (requireServer()) {
try {
ServletContextHandler servletHandler = new ServletContextHandler();
servletHandler.addServlet(new ServletHolder(new LiveCodingServlet(config.root)), "/live/*");
servletHandler.addServlet(new ServletHolder(new ResourceServlet(config.root)), "/*");
Server server = new Server(config.port);
server.setHandler(servletHandler);
server.start();
} catch (Exception e) {