Commit Graph

10 Commits

Author SHA1 Message Date
Julio Capote
8e91b5f737 Forgot to join the backtrace array with newlines for better output 2011-06-22 17:00:15 -07:00
Julio Capote
673fa0eebc Better exception handling
This shows the backtrace when there is a problem with a watch action, makes for easier watch debugging
2011-06-22 16:47:12 -07:00
John Bintz
307d13a517 fix for resolving the digest module 2011-05-23 21:36:51 -04:00
Rémy Coutable
c788c00099 Fix bug that occurred when pattern was a string and no action was associated. 2010-12-16 15:09:36 +01:00
Rémy Coutable
ebe94d213b Improved deprecation warning message 2010-12-16 09:15:14 +01:00
Rémy Coutable
1831bf752f Guard no more automatically convert String into Regexp in "watch" method patterns.
It allows to define:

watch("foo_bar.rb") without meaning /foo_bar.rb/ (where "foo_bar_rb.rb" would have been matched)

However, during the deprecation phase, strings that look like a regexes (e.g. "^foo_bar.rb", "foo_bar.rb$", "foo_.*bar.rb" or "foo_(bar|baz).rb" are converted automatically to Regexp and a *very annoying* deprecation message is displayed.
2010-12-16 01:22:42 +01:00
Rémy Coutable
47d1e11743 Added specs for Guard::Watcher, allow enumerables in 'watch' blocks. 2010-11-26 00:55:21 +01:00
Thibaud Guillaume-Gentil
85beb5e97a Don't call run_on_change guard method when there is no matched files. 2010-11-25 08:52:53 +01:00
Thibaud Guillaume-Gentil
bc5cc10d42 Fixed watch block without params on 1.9.2 2010-10-07 22:37:13 +02:00
Thibaud Guillaume-Gentil
4d3744ff43 Initial commit 2010-10-03 23:00:33 +02:00