Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-structure according to fsnotify recommendations
For some very obscure reason (or let's call it "badly explained"), the reading from the event and error channel should take place in a separate goroutine. See howeyc/fsnotify#7 for a discussion about it. Apparently, something may block if done otherwise. Although all material about this topic fails to give a code example that exhibits this problem, I obey and put the events reader into its own goroutine.
- Loading branch information