@CompileStatic @ToString class WatchConfig extends Object implements Named
A configuration for watching files for changes
File
directory
List<String>
extensions
String
name
tasks
WatchConfig(String name)
void
tasks(String[] tasks)
class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
The directory to watch
The file extensions to watch
The name of the config
The tasks to execute
The tasks to trigger when a modification event is received