snippetbashTip
react-native start — Start the React Native server. More information: <https://github.com/facebook/react-native/tree/main
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 startStart the metro bundler with a clean cache:
react-native start --reset-cacheStart the server in a custom port (defaults to 8081):
react-native start --port {{3000}}Start the server in verbose mode:
react-native start --verboseSpecify 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-interactiveCode Snippets
Start the server that communicates with connected devices
react-native startStart the metro bundler with a clean cache
react-native start --reset-cacheStart the server in a custom port (defaults to 8081)
react-native start --port {{3000}}Start the server in verbose mode
react-native start --verboseSpecify 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.