mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 19:05:59 +02:00
react-native-start: add page (#5223)
This commit is contained in:
parent
cb6f74dd28
commit
e3444bf643
1 changed files with 28 additions and 0 deletions
28
pages/common/react-native-start.md
Normal file
28
pages/common/react-native-start.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue