13 个版本
0.3.4 | 2024年5月27日 |
---|---|
0.3.3 | 2023年4月19日 |
0.3.2 | 2022年10月3日 |
0.3.0 | 2022年3月8日 |
0.1.0 | 2018年10月31日 |
在 macOS 和 iOS API 中排名 22
每月下载 760 次
23KB
559 行
unison-fsmonitor
为什么
unison
不包含针对 macOS 的 unison-fsmonitor
,因此 -repeat watch
选项无法直接使用。此工具填补了这一空白。该实现最初是为 macOS 制作的,但也适用于其他平台,如 Linux、Windows。
安装
brew install autozimu/homebrew-formulas/unison-fsmonitor
如果您已安装 cargo,则
cargo install unison-fsmonitor
用法
只需将 -repeat watch
作为参数运行 unison,或在配置文件中使用 repeat=watch
。
文件监视限制
如果达到监视限制,您可能需要更新两台主机上的文件监视限制。有关更多详细信息,请参阅 https://facebook.github.io/watchman/docs/install#system-specific-preparation。
调试
RUST_LOG=debug unison
参考
依赖项
~6–15MB
~190K SLoC