Grasshopper API
GH_FileSystemEventServerAddWatcher Method |
Add a new file watcher instance.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static void AddWatcher( Object owner, string path, GH_FileSystemEventServerFileEvent callback )
Public Shared Sub AddWatcher ( owner As Object, path As String, callback As GH_FileSystemEventServerFileEvent )
Parameters
- owner
- Type: SystemObject
The object that owns this watcher. - path
- Type: SystemString
The path of the file to watch. - callback
- Type: Grasshopper.KernelGH_FileSystemEventServerFileEvent
Callback delegate used during file changes.
