Parameters
string
required
The new file or folder, relative to the workspace root.
Behavior
- Folders count. Creating a subfolder reports the folder itself.
- A new file reports twice. You get
OnCreated, thenOnChangedonce its contents are written. That is how Windows reports it. - Moving a file in from outside the watched folder arrives as a creation, because from this folder’s point of view the file simply appeared.