クイックリファレンス

Facebook Watchman ファイル監視サービス・トリガー設定早見表

Facebook発の高パフォーマンスファイル変更監視デーモン Watchman のクイックリファレンス:ディレクトリ監視、ビルドトリガー登録、CLIコマンド一覧。

· 公開日

Getting Started

# Add ./src directory to the watch list
watchman watch ./src
# Add a trigger named 'retest' that executes npm test when any *.js file in ./src changes
watchman -- trigger ./src retest '*.js' -- npm test

Managing Watches

watchman watch ~/src       # Watch ~/src
watchman watch-list        # List all active watches
watchman watch-del ~/src   # Remove watch on ~/src

References

関連テーマ