tldr/pages/common/react-native-start.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

728 B

react-native start

Command-line tools to start the React Native server. More information: https://github.com/react-native-community/cli/blob/master/docs/commands.md#start.

  • 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