LoginSignup
1
0

More than 5 years have passed since last update.

fswatchの使い方がわからない

Last updated at Posted at 2014-09-19

プログラムが入っているフォルダを監視して、変更があった場合にテストを実行するようにしたいが、fswatchが期待どおりに動かない。

インストール

$brew install fswatch

Version

fswatch 1.3.8

とりあえず、modelフォルダを監視して、変更があった場合にHelloWorldと表示させる

$ fswatch model/ "echo HelloWorld"

結果

modelフォルダにfoo.phpを追加

$ fswatch model/ "echo HelloWorld" 

/path/model/foo.php

期待値

$ fswatch model/ "echo HelloWorld" 

HelloWorld
1
0
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0