chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
`project.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "mobile",
|
||||
//...
|
||||
"targets": {
|
||||
//...
|
||||
"start": {
|
||||
"executor": "@nx/react-native:start",
|
||||
"options": {
|
||||
"port": 8081
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```bash
|
||||
nx run mobile:start
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
##### Starts the server non-interactively
|
||||
|
||||
The `interactive` option allows you to specify whether to use interactive mode:
|
||||
|
||||
```json
|
||||
"start": {
|
||||
"executor": "@nx/react-native:start",
|
||||
"options": {
|
||||
"port": 8081,
|
||||
"interactive": false
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
##### Starts the server with cache reset
|
||||
|
||||
The `resetCache` option allows you to remove cached files.
|
||||
|
||||
```json
|
||||
"start": {
|
||||
"executor": "@nx/react-native:start",
|
||||
"options": {
|
||||
"port": 8081,
|
||||
"resetCache": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user