App-watchdo

 view release on metacpan or  search on metacpan

lib/App/watchdo.pm  view on Meta::CPAN

=item C<get_dirs ()>

Gets the unique list of directories to look in

=item C<get_files ()>

Gets all the files to be watched

=item C<watch ()>

Runs the event loop to watch for changes in files.

=back

=head1 ATTRIBUTES

=over 4

=item C<changed>

Array of changed files

=item C<done>

Stores callback method for alerting of changed files

=item C<dirs>

Stores the directories that are being monitored

=item C<files>

Stores the files that are being monitored

=item C<exclude>

Stores a list of regexps of files that should not trigger changed events

=item C<git>

Flag for using git to find files that should be monitored

=item C<run>

The function to be called when file are changed

=item C<wait>

Time to wait for changes to settle to changed events are not filed too quickly

=back

=head1 DIAGNOSTICS

=head1 CONFIGURATION AND ENVIRONMENT

=head1 DEPENDENCIES

=head1 INCOMPATIBILITIES

=head1 BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

=head1 AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

=head1 LICENSE AND COPYRIGHT

Copyright (c) 2014-2016 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077).
All rights reserved.

This module is free software; you can redistribute it and/or modify it under
the same terms as Perl itself. See L<perlartistic>.  This program is
distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

=cut



( run in 2.757 seconds using v1.01-cache-2.11-cpan-437f7b0c052 )