Documentation for method watch-path
Documentation for method watch-path, assembled from the following types:
method watch-path(IO::Notification: Str() , : = )
Returns a Supply that emits
$path is a file, only modifications of that file are reported. If
$path is a directory, both modifications to the directory itself (for example permission changes) and to files in the directory (including new files in the directory) are reported.
:$scheduler allows you to specify which thread scheduler is responsible for the notification stream.