ChangeWatcher
This module contains helpers to react to file system events.
 
  Nested types and modules
  
  Functions and values
  
    
      | Function or value | Description | 
    
    
      
        
          
            WatchChanges 
          
          
            Signature: (seq<FileChange> -> unit) -> FileIncludes -> IDisposable 
                       
         | 
        
            
               
               
            
          
         | 
      
      
        
          
            WatchChangesWithOptions (...)
          
          
            Signature: options:WatchChangesOption -> onChange:(seq<FileChange> -> unit) -> fileIncludes:FileIncludes -> IDisposable 
                       
         | 
        
            
               
               
            
          Watches the for changes in the matching files.
Returns an IDisposable which allows to dispose all FileSystemWatchers. 
Parameters
onChange - function to call when a change is detected. 
fileIncludes - The glob pattern for files to watch for changes. 
 
Sample
1: 
2: 
3: 
4: 
5: 
6: 
7: 
8: 
9: 
  | 
Target "Watch" (fun _ ->
    use watcher = !! "c:/projects/watchDir/*.txt" |> WatchChanges (fun changes ->
        // do something
    )
    System.Console.ReadLine() |> ignore
    watcher.Dispose() // if you need to cleanup the watches.
)
  | 
 
 
namespace System 
type Console =   static member BackgroundColor : ConsoleColor with get, set   static member Beep : unit -> unit + 1 overload   static member BufferHeight : int with get, set   static member BufferWidth : int with get, set   static member CapsLock : bool   static member Clear : unit -> unit   static member CursorLeft : int with get, set   static member CursorSize : int with get, set   static member CursorTop : int with get, set   static member CursorVisible : bool with get, set   ...
  Full name: System.Console 
System.Console.ReadLine() : string 
val ignore : value:'T -> unit
  Full name: Microsoft.FSharp.Core.Operators.ignore 
         |