Find free port before generating config.
Add some live-assets configs to app config.