Yoshihiro Sasaki > App-pfswatch-0.07 > pfswatch

Download:
App-pfswatch-0.07.tar.gz

Annotate this POD

View/Report Bugs
Source   Latest Release: App-pfswatch-0.08

NAME ^

pfswatch - a simple utility that detects changes in a filesystem and run given command

SYNOPSIS ^

pfswatch [-h] [path ...] -e COMMAND

    --exec | -e COMMAND
        Run COMMAND when detects changes in a filesystem under given path.

    --pipe | -p
        If this option enabled, path names that were changed are passed into STDIN of your command.

    --quiet | -q
        Run in quiet mode. only print COMMAND output.

    --help | -h 
        Show this message.

EXAMPLE ^

    $ pfswatch t/ lib/ -e prove -lr t/
    $ pfswatch t/ lib/ --pipe -e xargs prove -l

DEBUG

If you want to know which file is changed, set PFSWATCH_DEBUG=1.

    $ PFSWATCH_DEBUG=1 pfswatch lib -e ls -l lib

AUTHOR ^

Yoshihiro Sasaki <ysasaki at cpan.org>

LICENSE ^

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

COPYRIGHT ^

Copyright 2011 Yoshihiro Sasaki All rights reserved.

syntax highlighting: