master/lib/guard/listeners
Rémy Coutable 06be2107af Dir.glob now ignores files that don't need to be watched
By default, we don't watch ., .., .bundle, .git (this is HUGE), log, tmp and vendor (this is also HUGE). Also don't append '/' to the dir given to Guard::Listener#potentially_modified_files, the method now handles it internally.

In my case, Guard::Listener#potentially_modified_files was taking ~56 seconds (in a big Rails project), it takes now... less than 1 second.

Enjoy.
2011-07-21 01:40:40 +02:00
..
darwin.rb Use Guard::Listener#worker as much as possible 2011-07-21 01:30:22 +02:00
linux.rb Use Guard::Listener#worker as much as possible 2011-07-21 01:30:22 +02:00
polling.rb Dir.glob now ignores files that don't need to be watched 2011-07-21 01:40:40 +02:00
windows.rb Dir.glob now ignores files that don't need to be watched 2011-07-21 01:40:40 +02:00