Skip to content

Commit c94bba3

Browse files
docs: watch flag blog and run local flags (#5458)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
1 parent 8f3adbd commit c94bba3

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

site/content/blogs/release-v132.en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Thanks to every one of you who shows love and support for AWS Copilot.
1919
Copilot v1.32 brings big enhancements to help you develop more flexibly and efficiently:
2020

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

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

3535
##
3636

37+
## `copilot run local --watch`
3738

38-
##
39-
39+
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!
4040

4141
## Imported ALBs
4242

site/content/docs/commands/run-local.en.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ $ copilot run local [flags]
88

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

2124
## Examples

0 commit comments

Comments
 (0)