guard/guard-shell — pull request #3 by burtlo (2012-03-04 13:39:45+00:00)
Title: Forking

Changed the format and the guardfile watcher result to be a string value of the command to be executed. this allows for the command to be sent back to guard-shell to be executed in a forked process if the system supports it and the user has defined it.

A user can specify an option `max_processes` (integer) value to set the maximum number of forks.

I noticed that several commands would get queued up when run in single process mode so by default I remove any duplicate commands that are sent; though the duplicates can be re-enabled through another option `allow_duplicates`.