docs: Update watch.md

This commit is contained in:
you-n-g 2024-12-15 13:35:14 +08:00 committed by GitHub
parent 10b5aaa6a5
commit 64cf298521
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ description: Aider can run in your browser, not just on the command line.
If you run aider with `--watch-files`, it will watch all files in your repo If you run aider with `--watch-files`, it will watch all files in your repo
and look for any AI coding instructions you add using your favorite IDE or text editor. and look for any AI coding instructions you add using your favorite IDE or text editor.
Specifically, aider looks for one-liner comments (# ... or // ...) that either start or end with `AI`, `AI!` or `AI?1 like these: Specifically, aider looks for one-liner comments (# ... or // ...) that either start or end with `AI`, `AI!` or `AI?` like these:
```python ```python
# Make a snake game. AI! # Make a snake game. AI!