Search code examples
rubyperlguard

Is there a Perl alternative to the guard gem for ruby?


I've been amazed at the power of the guard ruby gem and was hoping to find something similar to monitor my Perl project for changes and run similar unit tests and livereload out of the box like the ruby gem without having to resort to installing ruby?

Any idea's/recommendations?


Solution

  • Sounds like you want to build on File::ChangeNotify, which is what the Catalyst test server uses to restart automatically when the code changes.

    Unit tests are probably best handled by one of the Test:: modules, such as Test::Most.