A glob pattern that is applied to the absolute paths of created, changed, and deleted files. Use a relative pattern to limit events to a certain workspace folder.
OptionalignoreCreateEvents: booleanIgnore when files have been created.
OptionalignoreChangeEvents: booleanIgnore when files have been changed.
OptionalignoreDeleteEvents: booleanIgnore when files have been deleted.
A new file system watcher instance.
Creates a file system watcher.
A glob pattern that filters the file events on their absolute path must be provided. Optionally, flags to ignore certain kinds of events can be provided. To stop listening to events the watcher must be disposed.
Note that only files within the current workspace folders can be watched.