Skip to content

Commit

Permalink
issue guard#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 9c7a4a7 commit 12c34ce
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 12c34ce

Please sign in to comment.