You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/cds-cli.md
+2-18Lines changed: 2 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -435,26 +435,10 @@ Use `cds watch` to watch for changed files, restarting your server.
435
435
Additional watched or ignored paths can be specified via CLI options:
436
436
437
437
```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
456
439
```
457
440
441
+
Alternatively, you can add these paths through settings <ConfigkeyOnly>cds.watch.include: ["../other-app"]</Config> and <ConfigkeyOnly>cds.watch.exclude: [".stuff"]</Config> to your project configuration.
0 commit comments