I wanted to run a script every time a file changed. There’s a bunch of tools to do this for Linux, but I’m on Windows (because reasons). I found a PowerShell module, installed it, and got to work. function Enter-Watcher { Param ( [PSDefaultValue(Help="*")] $Filter="*", $Path=".", $SourceIdentifier="watcher-event", [Parameter(Mandatory=$true, Position=0)] $ScriptBlock ) #Cleanup of previous uses. Remove past watchers of this type, to eliminate double-events $e = "$SourceIdentifier-emit" Re...| Hillel Wayne