This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Watch.
Summary
Watch files that is specified by settings.
Syntax
public static void Watch(this ICakeContext context, WatchSettings settings, Action<IEnumerable<FileChange>> fileChanged)
Examples
var settings = new WatchSettings { Recursive = true, Path = "src", Pattern = "*.html" };
Watch(settings , (changes) => {
var list = changes.ToList();
list.ForEach(change => {
Console.WriteLine(change.FullName);
});
})
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Return Value