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.
Optional
ignoreCreateEvents: booleanIgnore when files have been created.
Optional
ignoreChangeEvents: booleanIgnore when files have been changed.
Optional
ignoreDeleteEvents: 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.