Skip to content

Commit c818356

Browse files
authored
Merge pull request #22553 from duffuniverse/fix-typos-in-use-compose-watch-manual
Fix typos in the Use Compose Watch manual
1 parent e6c52c8 commit c818356

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/manuals/compose/how-tos/file-watch.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Compose supports sharing a host directory inside service containers. Watch mode
3131
More importantly, `watch` allows for greater granularity than is practical with a bind mount. Watch rules let you ignore specific files or entire directories within the watched tree.
3232

3333
For example, in a JavaScript project, ignoring the `node_modules/` directory has two benefits:
34-
* Performance. File trees with many small files can cause high I/O load in some configurations
35-
* Multi-platform. Compiled artifacts cannot be shared if the host OS or architecture is different to the container
34+
* Performance. File trees with many small files can cause a high I/O load in some configurations
35+
* Multi-platform. Compiled artifacts cannot be shared if the host OS or architecture is different from the container
3636

3737
For example, in a Node.js project, it's not recommended to sync the `node_modules/` directory. Even though JavaScript is interpreted, `npm` packages can contain native code that is not portable across platforms.
3838

@@ -88,12 +88,12 @@ If `action` is set to `rebuild`, Compose automatically builds a new image with B
8888

8989
The behavior is the same as running `docker compose up --build <svc>`.
9090

91-
Rebuild is ideal for compiled languages or as fallbacks for modifications to particular files that require a full
91+
Rebuild is ideal for compiled languages or as a fallback for modifications to particular files that require a full
9292
image rebuild (e.g. `package.json`).
9393

9494
#### Sync + Restart
9595

96-
If `action` is set to `sync+restart`, Compose synchronizes your changes with the service containers and restarts it.
96+
If `action` is set to `sync+restart`, Compose synchronizes your changes with the service containers and restarts them.
9797

9898
`sync+restart` is ideal when the config file changes, and you don't need to rebuild the image but just restart the main process of the service containers.
9999
It will work well when you update a database configuration or your `nginx.conf` file, for example.

0 commit comments

Comments
 (0)