Watch a folder or file for changes, and do something about it.
- External imports, not stdlib stuff
- fsnotify
- ginkgo
- gomega
- contains main loop
- contains target types and functions
- things that can be done
- types of events
- watch
- watched
- the internal server/daemon
- the server configuration (as a buildable object)
- listening types
- slice of all files being watched
- only watches files
- combo of []targets, []events, and []actions
- slice of all active targets
- generic that can be file or directory
- file
- directory
- thing to do to a target
- trigger for target
- calls action
- contains runtime server information
- waits for events in
[]targets
- calls
action
whenevent
triggers in[]targets
- server related settings
- controls listeners
- individual listener for each target