Discover Packages
github.com/oliver-fish/watchtask
watcher
package
Version:
v0.0.0-...-558b373
Opens a new window with list of versions in this module.
Published: Jun 13, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Task stores a pointer to FSWatcher from fsnotify and the paths we will be watching
Create builds our Task struct and creates our NewWatcher from fsNotify
Run watches the directories insides the Path value of the passed in Task, it will block until it detects changes.
An error will be returned if invalid paths are set
Source Files
¶
Click to show internal directories.
Click to hide internal directories.