class

LSProtocol::FileSystemWatcher

Inherits JSON::Serializable / Reference / Object

Constructors

new(pull : JSON::PullParser)
Source
new(glob_pattern : GlobPattern | Nil, kind : WatchKind | UInt32 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

glob_pattern

The glob pattern to watch. See GlobPattern for more detail.

@since 3.17.0 support for relative patterns.

Source
kind

The kind of events of interest. If omitted it defaults to WatchKind.Create | WatchKind.Change | WatchKind.Delete which is 7.

Source