Skip to content

Commit c4fcb63

Browse files
committed
Merge pull request #317 from monfresh/add-note-about-listen-suppport
Update README with note about Listen 2 support.
2 parents 37ba942 + 48ef1af commit c4fcb63

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,17 @@ much CPU, then you can turn on event-based file system listening:
339339
Spring.watch_method = :listen
340340
```
341341

342-
You may need to add the [`listen` gem](https://github.com/guard/listen) to your `Gemfile`.
342+
You will need to add the [`listen` gem](https://github.com/guard/listen) to your `Gemfile`
343+
if you don't already have it:
344+
345+
```ruby
346+
group :development do
347+
gem 'listen', '~> 1.0'
348+
end
349+
```
350+
351+
Note that Spring does not currently support version 2 of the listen gem.
352+
See pull request [#194](https://github.com/rails/spring/pull/194) for more details.
343353

344354
## Troubleshooting
345355

0 commit comments

Comments
 (0)