Closed eonist closed 7 years ago
Was kind of leaving that as "nice to have" for later... but since you make it an issue :-) thought I might just commit a small extension for this right away
Yeh definitely nice to have for later. Left it as an Issue. Maybe someone knew how to pull it of.
not for later .. you can now use the above syntax - say I had this in my tests:
let filewatcher = FileWatcher([NSString(string: "~/Desktop").expandingTildeInPath]) { event in
print("Something different happened here: " + event.description)
}
:-)))
Awesome. 🎉