系统要求
Watchman在以下系统中编译通过:
- 具有inotify功能的linux系统
- OSX(10.7+ FSEvents,kqueue)
- Windows 64位 Windows Server 2012 R2版本以上
构建/安装
OSX通过homebrew安装
brew update
brew install watchman
从github安装最新的构建版本
$ brew install --HEAD watchman |
---|
OSX使用macports安装
$ sudo port install watchman |
---|
从源码安装
$ git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.7.0 # the latest stable release
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install