Repository navigation
Commit d9f1f09
authored
fix(sample-app): exclude all __pycache__ in cdk.json (#27191)
Following the cdk workshop for python I noticed that `cdk watch` watches files from `__pycache__`.
This is an attempt to fix that.
Steps to reproduce:
1. `cdk init sample-app --language python`
2. `cdk bootstrap`
3. Run `cdk watch` and notice that `__pycache__` folders are being watched:
```
'watch' is observing directory 'cdk_workshop/__pycache__' for changes
'watch' is observing the file 'cdk_workshop/cdk_workshop_stack.py' for changes
'watch' is observing the file 'cdk_workshop/__pycache__/__init__.cpython-311.pyc' for changes
'watch' is observing the file 'cdk_workshop/__pycache__/cdk_workshop_stack.cpython-311.pyc' for changes
```
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*1 parent d41005e commit d9f1f09
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments