Skip to content

Commit

Permalink
add documentation for --no-watch
Browse files Browse the repository at this point in the history
  • Loading branch information
codingpaula committed May 7, 2024
1 parent cc75fbe commit 9785e28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ Options:
interval in which mutex is updated (default: 10 seconds)
- `--ignore-mutex`
ignore mutex (use with caution) (default: False)
- `--no-watch`
don't keep watching the copied folders for changes after the sync (default: False)

### Python

Expand All @@ -64,6 +66,7 @@ sync(
```

The `sync` call will block until the script is aborted.
Only if `watch=False` is used, the `sync` call will end after copying the folders to the target once.
The `Folder` class allows to set the `port` and an `on_change` bash command which is executed after a sync has been performed.
Via the `rsync_args` build method you can pass additional options to configure rsync.

Expand Down

0 comments on commit 9785e28

Please sign in to comment.