yarnでアップデートするたびに、Time Machineが張り切ってバックアップしちゃって困ってたんだけど、
これ使えば手軽に抑制できそうだ。
stevegrunwell/asimov: Automatically exclude development dependencies from Apple Time Machine backups - https://github.com/stevegrunwell/asimov
インストール
git clone git@github.com:stevegrunwell/asimov.git
cd asimov.git
./install.sh
実行結果
./install.sh
Symlinking /Users/hoge/src/github.com/stevegrunwell/asimov to /usr/local/bin/asimov
Asimov daemon has been loaded!
Finding dependency directories with corresponding definition files...
(省略)
- /Users/hoge/src/github.com/MyApp/***/node_modules is already excluded, skipping.
- /Users/hoge/src/github.com/MyApp/***/node_modules has been excluded from Time Machine backups (773M).
- /Users/hoge/src/github.com/MyApp/***/node_modules is already excluded, skipping.
- /Users/hoge/src/github.com/MyApp/***/vendor has been excluded from Time Machine backups (8.0K).
- /Users/hoge/src/github.com/MyApp/***/.vagrant has been excluded from Time Machine backups ( 32K).