Sample

1: 2: 3: 4: 5: 6: 7: 8: 9:

Target.create"Watch"(fun_->usewatcher=!!"c:/projects/watchDir/*.txt"|>ChangeWatcher.run(funchanges->// do something)System.Console.ReadLine()|>ignorewatcher.Dispose()// if you need to cleanup the watcher.)