if (scriptFile == null) {
launchConfig = new DelegatingLaunchConfig(launchConfig) {
@Override
public HandlerFactory getHandlerFactory() {
return new GroovyClosureHandlerFactory(closure);
}
};
}
RatpackServer server = RatpackServerBuilder.build(launchConfig);