master/spec/guard
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
..
listeners Dir.glob now ignores files that don't need to be watched 2011-07-21 01:40:40 +02:00
dsl_describer_spec.rb Integrated Guard::Ego inside Guard, oh yeah! 2011-07-02 10:01:45 +02:00
dsl_spec.rb Prevents notification on revaluate_guardfile spec 2011-07-15 08:33:13 +02:00
interactor_spec.rb Cleaning up all specs. 2011-05-13 11:26:05 +02:00
listener_spec.rb Dir.glob now ignores files that don't need to be watched 2011-07-21 01:40:40 +02:00
notifier_spec.rb Use RbConfig instead of obsolete and deprecated Config. 2011-06-16 18:14:51 +07:00
watcher_spec.rb Integrated Guard::Ego inside Guard, oh yeah! 2011-07-02 10:01:45 +02:00