The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

provewatcher

VERSION

version 0.3

DESCRIPTION

Watches for changes in the current directroy tree and runs prove when there are changes.

ARGUMENTS

provwatcher takes all the arguments that prove takes with two additions:

--watch

Specifies what directories should be watched:

        # just watch lib
        $ provewatcher --watch lib
        
        # watch lib and t
        $ provewatcher --watch lib --watch t
        

This defaults to . if not given.

--run

Allows you to run something other than prove when changes happen. For example if you where using Dist::Zilla

        $ provewatcher --run 'dzil test'
        
        

--ignore

Adds another regexp to the list of files that are ignored. Can be given multiple times.

NOTIFICATIONS

If you install Log::Dispatch::DesktopNotification, desktop notifications will be sent whenever the overall state of the tests change (failing to passing or passing to failing).

Log::Dispatch::DesktopNotification is not listed as a prereq for this module, it will not be installed by default when you install this module.

AUTHORS

    Chris Reinhardt
    crein@cpan.org
    

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

App::Prove::Watch, App::Prove, perl(1)