Open zb226 opened 5 years ago
Windows porting is still on the Cro roadmap; I'm glad to see it already at least gets this close to working without a concerted effort on that!
I'm curious if the issue is with the Cro runner, or a more general Perl 6 issue with file watching on Windows. Please could you try:
perl6 -e "react whenever '.'.IO.watch { .say }"
And then try changing or creating a file in the directory that you are running that command in?
First off, Jonathan, let me thank you and the team for all the work on perl6!
So I tested this and it seems to work:
Let me know if I can further assist with Windows testing!
I'm running Rakudo Star 2019.03.1 on Windows 7.
cro run
is supposed to restart the server whenever it detects source file changes (as per the Getting Started section):"The cro run command will start your service (and automatically restart the service if you change a file):
cro run
"Source file changes are correctly detected on Linux:
But unfortunately not on Windows: