Skip to content

Commit 6aa8403

Browse files
authored
Merge pull request #22426 from k-kbk/patch-1
Fix minor typos in file-watch.md
1 parent 983e42e commit 6aa8403

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
@@ -40,7 +40,7 @@ For example, in a Node.js project, it's not recommended to sync the `node_module
4040

4141
The `watch` attribute defines a list of rules that control automatic service updates based on local file changes.
4242

43-
Each rule requires, a `path` pattern and `action` to take when a modification is detected. There are two possible actions for `watch` and depending on
43+
Each rule requires a `path` pattern and `action` to take when a modification is detected. There are two possible actions for `watch` and depending on
4444
the `action`, additional fields might be accepted or required.
4545

4646
Watch mode can be used with many different languages and frameworks.
@@ -95,8 +95,8 @@ image rebuild (e.g. `package.json`).
9595

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

98-
`sync+restart` is ideal when config file changes, and you don't need to rebuild the image but just restart the main process of the service containers.
99-
It will work well when you update a database configuration or your `nginx.conf` file for example
98+
`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.
99+
It will work well when you update a database configuration or your `nginx.conf` file, for example.
100100

101101
>[!TIP]
102102
>
@@ -116,7 +116,7 @@ For `path: ./app/html` and a change to `./app/html/index.html`:
116116

117117
### `ignore`
118118

119-
The `ignore` patterns are relative to the `path` defined in the current `watch` action, not to the project directory. In the following Example 1, the ignore path would be relative to the `./web` directory specified in the `path` attribute.
119+
The `ignore` patterns are relative to the `path` defined in the current `watch` action, not to the project directory. In the following Example 1, the ignore path would be relative to the `./web` directory specified in the `path` attribute.
120120

121121
## Example 1
122122

0 commit comments

Comments
 (0)