guard / listen

The Listen gem listens to file modifications and notifies you about the changes.
https://rubygems.org/gems/listen
MIT License
1.93k stars 247 forks source link

'debug' option is obsolete? #346

Closed david-ding closed 9 years ago

david-ding commented 9 years ago

Setting debug: true doesn't seem to do anything, despite the documentation says it should have the same effect as setting the environment variable LISTEN_GEM_DEBUGGING=1.

e2 commented 9 years ago

Quite likely, since 3.x:

TODO here:

https://github.com/guard/listen/blob/master/lib/listen/listener/config.rb#L6

And since the debug log level is not globally set:

https://github.com/guard/listen/blob/457c3cb47c706855c61c2d204a3657b6af157df1/lib/listen/logger.rb#L12

I don't think the option makes sense any more.

e2 commented 9 years ago

I've fixed the README.

david-ding commented 9 years ago

Thanks!