alandipert/fswatch — pull request #1 by marceloandrader (2012-11-14 21:36:14+00:00)
Title: Allow watch multiple directories to execute the same command

Hi,

Nice work with this command, I just discovered and I'm using it a lot, mainly to execute unit tests when I save some file, but there was a thing that I need it to check 2 or more directories.

The reason for this is that I'm using it like:

```fswatch src/classes "echo 'running'; phpunit"```

but when I change my tests on src/tests the command is not run, so I think this notation:

```fswatch src/classes:src/tests "echo 'running'; phpunit"```

will work, I can't do just:

```fswatch src "echo 'running'; phpunit"```

because inside src are some log directories that are written when I visit my site in dev mode, so it's going to execute every time I do something on the browser.