master/lib
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
..
guard Dir.glob now ignores files that don't need to be watched 2011-07-21 01:40:40 +02:00
guard.rb Moved Guard::Listener#update_last_event inside Guard::Listener#modified_files 2011-07-21 01:25:06 +02:00