'done' channel in README not used
frrist opened this issue · 3 comments
frrist commented
I was trying to figure out how your package worked (I am still new to Go) and I noticed that the 'done' channel in the README doesn't actually do anything. Should this be removed or is there a purpose for it?
howeyc commented
It's there so the demo/test/template program doesn't terminate. That way you can keep the watcher program up and edit/modify files you are watching to see the events as they come in.
In an actual application, no it's not necessary.
frrist commented
Alright, that makes sense, thank you. Do you mind if I PR in a comment explaining that?
howeyc commented
sure