Skip to content

Commit

Permalink
issue #509: simplify INotifyMaxWatchesExceeded message
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDKelley committed Aug 19, 2021
1 parent 5da51e0 commit acabb6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/listen/adapter/linux.rb
Expand Up @@ -30,8 +30,7 @@ def _configure(directory, &callback)
@worker.watch(directory.to_s, *options.events, &callback)
rescue Errno::ENOSPC
raise ::Listen::Error::INotifyMaxWatchesExceeded, <<~EOS
FATAL: Listen error: Unable to monitor directories for changes because iNotify max watches exceeded.
Visit #{README_URL} for info on how to fix this.
Unable to monitor directories for changes because iNotify max watches exceeded. See #{README_URL} .
EOS
end

Expand Down

0 comments on commit acabb6d

Please sign in to comment.