mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
Merge branch 'main' of github.com:Aider-AI/aider
This commit is contained in:
commit
303f8e1bc9
2 changed files with 28 additions and 1 deletions
|
@ -140,7 +140,10 @@ class FileWatcher:
|
|||
roots_to_watch = self.get_roots_to_watch()
|
||||
|
||||
for changes in watch(
|
||||
*roots_to_watch, watch_filter=self.filter_func, stop_event=self.stop_event
|
||||
*roots_to_watch,
|
||||
watch_filter=self.filter_func,
|
||||
stop_event=self.stop_event,
|
||||
ignore_permission_denied=True,
|
||||
):
|
||||
if self.handle_changes(changes):
|
||||
return
|
||||
|
|
|
@ -44,6 +44,30 @@ For example, on macOS you might use:
|
|||
aider --notifications-command "say 'Aider is ready'"
|
||||
```
|
||||
|
||||
### Remote Notifications
|
||||
|
||||
For remote notifications you can use [Apprise](https://github.com/caronc/apprise)
|
||||
|
||||
It's a cross-platform Python library for sending notifications to various services.
|
||||
|
||||
We can use Apprise to send notifications to Slack
|
||||
|
||||
```bash
|
||||
aider --notifications-command "apprise -b 'Aider is ready' 'slack://your-slack-webhook-token'"
|
||||
```
|
||||
|
||||
or Discord
|
||||
```bash
|
||||
aider --notifications-command "apprise -b 'Aider is ready' 'discord://your-discord-webhook-token'"
|
||||
```
|
||||
|
||||
or even to your phone via Pushbullet
|
||||
```bash
|
||||
aider --notifications-command "apprise -b 'Aider is ready' 'pbul://your-pushbullet-access-token'"
|
||||
```
|
||||
|
||||
Check more how to use and configure Apprise on their GitHub page.
|
||||
|
||||
## Configuration
|
||||
|
||||
You can add these settings to your configuration file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue