diff --git a/aider/watch.py b/aider/watch.py index 989aa8bf6..5dd770976 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -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 diff --git a/aider/website/docs/usage/notifications.md b/aider/website/docs/usage/notifications.md index 6f31c59ee..e25ab11ad 100644 --- a/aider/website/docs/usage/notifications.md +++ b/aider/website/docs/usage/notifications.md @@ -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: