LinuxCommandLibrary

react-native-start

Command line tools to start the React Native server.

TLDR

Start the server that communicates with connected devices

$ react-native start
copy


Start the metro bundler with a clean cache
$ react-native start --reset-cache
copy


Start the server in a custom port (defaults to 8081)
$ react-native start --port [3000]
copy


Start the server in verbose mode
$ react-native start --verbose
copy


Specify the maximum number of workers for transforming files (default is the number of CPU cores)
$ react-native start --max-workers [count]
copy


Disable interactive mode
$ react-native start --no-interactive
copy

Copied to clipboard