HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

react-native start — Start the React Native server. More information: <https://github.com/facebook/react-native/tree/main

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theservercommandstartreactreact-native startnativecli

Problem

How to use the react-native start command: Start the React Native server. More information: <https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin#start>.

Solution

react-native start — Start the React Native server. More information: <https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin#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

Code Snippets

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}}

Context

tldr-pages: common/react-native start

Revisions (0)

No revisions yet.