# New Ticket Created by Zoffix Znet # Please include the string: [perl #132043] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=132043 >
IRC: https://irclog.perlgeek.de/perl6/2017-09-06#i_15127587 Steps to repro. Create a file named "foo.p6" then run the following watcher in the directory and edit that file. The nofication reports a change in "foo.p6/foo.p6" instead of just "./foo.p6" zoffix@VirtualBox/tmp/tmp.ckoExUdCEj$ perl6 -e 'react { whenever "foo.p6".IO.watch { dd $^file } }' IO::Notification::Change $file = IO::Notification::Change.new(path => "/tmp/tmp.ckoExUdCEj/foo.p6/foo.p6", event => FileChangeEvent::FileChanged) IO::Notification::Change $file = IO::Notification::Change.new(path => "/tmp/tmp.ckoExUdCEj/foo.p6/foo.p6", event => FileChangeEvent::FileChanged) ^C zoffix@VirtualBox/tmp/tmp.ckoExUdCEj$