guard / listen

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

issue #473: use sudo sh -c so redirection works #525

Closed ColinDKelley closed 3 years ago

ColinDKelley commented 3 years ago

@JasonBarnabe Thanks for pointing out that sudo wouldn't would with > or >> after. sudo sh -c seems like the best work-around.

How does this look?

JasonBarnabe commented 3 years ago

Looks good to me.

ColinDKelley commented 3 years ago

Thanks, @JasonBarnabe.