Skip to content

Commit

Permalink
TEMP: Add debug output for JRuby adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Aug 7, 2019
1 parent 6fb459e commit cf56792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/listen/adapter/jruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def _configure(directory, &_callback)
]

@watcher ||= FileSystems.getDefault.newWatchService
p @watcher.class.name
@keys ||= {}
path = Paths.get(directory.to_s)
key = path.register(@watcher, *event_kinds)
Expand Down

0 comments on commit cf56792

Please sign in to comment.