Skip to content

Commit 46ad5c7

Browse files
committed
Use config inspector
1 parent 752a775 commit 46ad5c7

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

tools/cds-cli.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -435,26 +435,10 @@ Use `cds watch` to watch for changed files, restarting your server.
435435
Additional watched or ignored paths can be specified via CLI options:
436436

437437
```sh
438-
cds watch --include ../other-app --exclude .idea/
439-
```
440-
441-
Alternatively, you can add the settings to your CDS configuration:
442-
443-
```json
444-
{
445-
"cds": {
446-
"watch": {
447-
"include": [
448-
"../other-app"
449-
],
450-
"exclude": [
451-
".idea/"
452-
]
453-
}
454-
}
455-
}
438+
cds watch --include ../other-app --exclude .stuff
456439
```
457440

441+
Alternatively, you can add these paths through settings <Config keyOnly>cds.watch.include: ["../other-app"]</Config> and <Config keyOnly>cds.watch.exclude: [".stuff"]</Config> to your project configuration.
458442

459443

460444
## cds repl

0 commit comments

Comments
 (0)