// for recording
if (useHotCompile()) {
final RestxConfig config = settingsFactory.getComponent(RestxConfig.class);
router = new CompilationManagerRouter(router, factory.getComponent(EventBus.class),
getColdClasses(factory),
new CompilationSettings() {
@Override
public int autoCompileCoalescePeriod() {
return config.getInt("restx.fs.watch.coalesce.period").get();
}