安装Watchman

4,498 阅读1分钟

Watchman则是由 Facebook 提供的监视文件系统变更的工具。安装此工具可以提高开发时的性能(packager 可以快速捕捉文件的变化从而实现实时刷新)

我们使用Homebrew来安装Watchman,在终端terminal输入指令brew install watchman step1 step2 step3 step4

如果你的mac还没有安装Homebrew,请移步《Homebrew的安装与使用》