Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.
Open
Changes from all 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
8 changes: 8 additions & 0 deletions packages/appsync-emulator-serverless/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ If using the DynamoDB emulator, data is preserved between emulator runs and is s
# NOTE unless you assign a specific port a random one will be chosen.
yarn appsync-emulator --port 62222
```

#### subscriptions with fixed websocket port

use `--ws-port` to set up a port for websocket(used for subscriptions) otherwise it will be any random free

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you feel about:

use `--ws-port` option to assign a websocket port used for graphql subscriptions, otherwise a random one will be chosen

?

```sh
yarn appsync-emulator --port 62222 --ws-port 62223
```

#### dynamodb with fixed port

optional start dynamodb at a fixed port - e.g. 8000
Expand Down