13 releases

0.3.4 May 27, 2024
0.3.3 Apr 19, 2023
0.3.2 Oct 3, 2022
0.3.0 Mar 8, 2022
0.1.0 Oct 31, 2018

#21 in macOS and iOS APIs

Download history 1/week @ 2024-02-21 6/week @ 2024-02-28 5/week @ 2024-03-13 6/week @ 2024-03-27 20/week @ 2024-04-03 54/week @ 2024-04-17 145/week @ 2024-05-22 34/week @ 2024-05-29 6/week @ 2024-06-05

185 downloads per month

MIT license

23KB
559 lines

unison-fsmonitor

Github Actions Status

Why

unison doesn't include unison-fsmonitor for macOS, thus -repeat watch option doesn't work out of the box. This utility fills the gap. This implementation was originally made for macOS but shall work on other platforms as well like Linux, Windows.

Install

brew install autozimu/homebrew-formulas/unison-fsmonitor

Alternatively if you have cargo installed,

cargo install unison-fsmonitor

Usage

Simply run unison with -repeat watch as argument or repeat=watch in config file.

File watch limits

You might need to update file watch limits in both hosts if watching limit reached. See https://facebook.github.io/watchman/docs/install#system-specific-preparation for more details.

Debug

RUST_LOG=debug unison

References

Dependencies

~6–16MB
~193K SLoC