We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd145cf commit 191bc74Copy full SHA for 191bc74
lib/listener.rb
@@ -1,2 +1,17 @@
1
module Listener
2
+
3
+ # Listen to file system modifications.
4
+ #
5
+ # @param [String, Pathname] dir the directory to watch
6
+ # @param [Hash] options the listen options
7
+ # @option options [String] glob the file filter pattern
8
+ # @yield [modified, added, removed] the changed files
9
+ # @yieldparam [Array<String>] modified the list of modified files
10
+ # @yieldparam [Array<String>] added the list of added files
11
+ # @yieldparam [Array<String>] removed the list of removed files
12
+ # @return [Watcher] the file watcher
13
14
+ def self.listen(dir, options, &block)
15
+ end
16
17
end
0 commit comments