Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix deprecated Supply.more (to .emit)
  • Loading branch information
lizmat committed Nov 29, 2014
1 parent c11b2a7 commit 62c092f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO/Notification.pm
Expand Up @@ -18,7 +18,7 @@ my class IO::Notification {
}
else {
my $event = rename ?? FileRenamed !! FileChanged;
$s.more(Change.new(:path(path // $path), :$event));
$s.emit(Change.new(:path(path // $path), :$event));
}
},
$path, FileWatchCancellation);
Expand Down

0 comments on commit 62c092f

Please sign in to comment.