🎥 Make videos programmatically with React
Merge branch 'main' into pr/358
Jonny Burger8631de75a85c
diff --cc packages/docs/docs/cli.mdindex 9659e8f585,04721e2eb0..40650697c2--- a/packages/docs/docs/cli.md+++ b/packages/docs/docs/cli.md@@@ -81,10 -34,6 +81,14 @@@ Specify a location for a dotenv file. DIf you don't feel like passing command line flags every time, consider creating a `remotion.config.ts` [config file](/docs/config).:::++### `--port`++++[Set a custom HTTP server port](/docs/config#setPort). If not defined, Remotion will try to find a free port.+++### `--help`++Print the list of available CLI commands and flags.+## Example command```diff --cc packages/docs/docs/config.mdxindex be202cd455,37a810630d..278ce3c4b0--- a/packages/docs/docs/config.mdx+++ b/packages/docs/docs/config.mdx@@@ -41,8 -41,20 +41,20 @@@ Enable or disable webpack caching. DefaConfig.Bundling.setCachingEnabled(false);```-The [command line flag](/docs/cli) `--bundle-cache` will take precedence over this option.+The [command line flag](/docs/cli#--bundle-cache) `--bundle-cache` will take precedence over this option.+ ### setPort()++ Define on which port Remotion should start it's HTTP servers during preview and rendering.+ By default, Remotion will try to find a free port.+ If you specify a port, but it's not available, Remotion will throw an error.++ ```tsx+ Config.Bundling.setPort(3003);+ ```++ The [command line flag](/docs/cli) `--port` will take precedence over this option.+## Log### setLevel()