unison-fsmonitor

Crates.iounison-fsmonitor
lib.rsunison-fsmonitor
version0.3.8
sourcesrc
created_at2018-10-31 21:59:53.37563
updated_at2024-11-09 23:15:58.884338
descriptionunison-fsmonitor implementation
homepage
repositoryhttps://github.com/autozimu/unison-fsmonitor
max_upload_size
id93894
size39,757
Junfeng Li (autozimu)

documentation

README

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

Commit count: 103

cargo fmt