-
Notifications
You must be signed in to change notification settings - Fork 3
FileWatcher.API
Henryk Wollik edited this page Jul 28, 2014
·
1 revision
A basic filewatcher.
- Source:
-
Add a file to watch.
Name Type Argument Description pathString The filepath
callbackModfiedfunction Callback if watched file is modified
callbackAddedfunction <optional>
Callback
callbackRemovedfunction <optional>
Callback if watched file has been removed
callbackNotValidfunction <optional>
Callback if path isnt valid
- Source:
-
Return if the watcher is currentky watching this file.
Name Type Description pathString = The file path
- Source:
- Type
- Boolean
-
Remove a file from the watcher.
Name Type Description pathString The file path
- Source:
-
Restart the watcher if stopped.
- Source:
-
Stop the watcher.
- Source: