Skip to content

Commit

Permalink
docs: watch flag blog and run local flags (aws#5458)
Browse files Browse the repository at this point in the history
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
  • Loading branch information
CaptainCarpensir authored Nov 9, 2023
1 parent 8f3adbd commit c94bba3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions site/content/blogs/release-v132.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Thanks to every one of you who shows love and support for AWS Copilot.
Copilot v1.32 brings big enhancements to help you develop more flexibly and efficiently:

- **`copilot run local --proxy`**:
- **`copilot run local --watch`**:
- **`copilot run local --watch`**: Automatically rebuilds your containers when you make changes to your code. [See detailed section](#copilot-run-local---watch)
- **Importing ALBs**: You can front your Load-Balanced Web Services with existing ALBs. [See detailed section](#imported-ALBs)

???+ note "What’s AWS Copilot?"
Expand All @@ -34,9 +34,9 @@ Copilot v1.32 brings big enhancements to help you develop more flexibly and effi

##

## `copilot run local --watch`

##

The `--watch` flag watches your workspace and rebuilds your containers when you make changes to your code so you can develop continuously. This is extremely useful when used with `--proxy`, as it allows you to save the overhead time required to set up proxy each time you would rebuild your application!

## Imported ALBs

Expand Down
5 changes: 4 additions & 1 deletion site/content/docs/commands/run-local.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ $ copilot run local [flags]

## What are the flags?
```
-a, --app string Name of the application. (default "playground")
-a, --app string Name of the application.
-e, --env string Name of the environment.
--env-var-override stringToString Optional. Override environment variables passed to containers.
Format: [container]:KEY=VALUE. Omit container name to apply to all containers. (default [])
-h, --help help for run
-n, --name string Name of the service or job.
--port-override list Optional. Override ports exposed by service. Format: <host port>:<service port>.
Example: --port-override 5000:80 binds localhost:5000 to the service's port 80. (default [])
--proxy Optional. Proxy outbound requests to your environment's VPC.
--proxy-network ipNet proxy-network (default 172.20.0.0/16)
--watch Optional. Watch changes to local files and restart containers when updated.
```

## Examples
Expand Down

0 comments on commit c94bba3

Please sign in to comment.