guard/guard — Issue #246: make relativize_paths a command line option
Author: ericgj
Created: 2012-02-29 03:13:45+00:00
State: open

The only way I can figure out to get the listener (Windows) to *not* relativize paths, running Guard from the command line, is the brutal -

`````ruby
#===== patch
module Guard

class Listener

def relativize_paths?
false
end

end

end
#======
`````

Am I missing something?

I also don't understand why the default for `relativize_paths` is true, but maybe my scenario is uncommon. I am watching directories outside of a 'base project directory' and don't want the code to assume anything about what directories are being watched, rather prefer to control that from the command line `-w` option.

Apologies if this issue has already been discussed here, I am new to Guard.