From e3444bf64375e049c544ca5d9ffa66182e1e6b10 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Thu, 11 Feb 2021 14:11:41 -0300 Subject: [PATCH] react-native-start: add page (#5223) --- pages/common/react-native-start.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/react-native-start.md diff --git a/pages/common/react-native-start.md b/pages/common/react-native-start.md new file mode 100644 index 0000000000..5c77cfad55 --- /dev/null +++ b/pages/common/react-native-start.md @@ -0,0 +1,28 @@ +# react-native start + +> Command line tools to start the React Native server. +> More information: . + +- Start the server that communicates with connected devices: + +`react-native start` + +- Start the metro bundler with a clean cache: + +`react-native start --reset-cache` + +- Start the server in a custom port (defaults to 8081): + +`react-native start --port {{3000}}` + +- Start the server in verbose mode: + +`react-native start --verbose` + +- Specify the maximum number of workers for transforming files (default is the number of CPU cores): + +`react-native start --max-workers {{count}}` + +- Disable interactive mode: + +`react-native start --no-interactive`