Code Monkey home page Code Monkey logo

unison-fsmonitor's Introduction

unison-fsmonitor

A filesystem monitoring adapter for the Unison file synchronizer with macOS support.

Installation

go get -u github.com/benesch/unison-fswatcher

Details

In -repeat watch mode, Unison can automatically re-sync whenever it notices that a file has changed. This mode relies on an adapter program, unison-fsmonitor, that provides the system-specific glue for filesystem notifications. Unison ships with an adapter for Linux and Windows, but not for macOS.

This unison-fsmonitor adapter program is written in Go and supports macOS. It should, in principle, support other operating systems—the underlying filesystem notification library supports most popular operating systems—but it has only been tested on macOS.

Notably, this adapter handles following symlinks better than the other available macOS adapters.

For the curious, the adapter protocol is documented in the fswatch.ml file in Unison's source code.

License

unison-fsmonitor is freely available under the terms of the MIT license.

Related projects

There are several similar projects that provide a unison-fsmonitor adapter for macOS.

unison-fsmonitor's People

Contributors

benesch avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

blinkystitt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.