Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add root watch commands for mobile platforms #108

Merged
merged 5 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions x/examples/outline-connectivity-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ If at any point you run into issues during development, try `yarn reset`.

`yarn watch`

If you just want to develop ios or android, you can run `yarn watch:ios` or `yarn watch:android` respectively.

### Build

> TODO: how to generate credentials
Expand Down
4 changes: 3 additions & 1 deletion x/examples/outline-connectivity-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"setup:vscode": "yarn sdks vscode",
"shared_backend": "yarn workspace shared_backend",
"shared_frontend": "yarn workspace shared_frontend",
"watch": "yarn workspaces foreach -piv run watch"
"watch": "yarn workspaces foreach -piv run watch",
"watch:android": "yarn workspaces foreach -piv run watch:android",
"watch:ios": "yarn workspaces foreach -piv run watch:ios"
},
"version": "0.0.0",
"workspaces": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"clean": "rm -rf output",
"go": "go",
"setup": "yarn build",
"watch": "nodemon --exec 'yarn build' --ext go"
"watch": "nodemon --exec 'yarn build' --ext go",
"watch:android": "nodemon --exec 'yarn build:android' --ext go",
"watch:ios": "nodemon --exec 'yarn build:ios' --ext go"
}
}