MATSUNO★Tokuhiro > App-watcher-0.10 > watcher

Download:
App-watcher-0.10.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

watcher - watch the file updates

SYNOPSIS ^

    % watcher --dir . -- osascript -e 'tell application "Google Chrome" to reload active tab of window 1'

        --dir=.      Diretory to watch.
        --signal=HUP Sending signal to restart(Default: TERM)(EXPERIMENTAL)
        --send_only  Sending signal without fork/exec(EXPERIMENTAL)
        -h --help    show this help

DESCRIPTION ^

This command watches the directory updates, and run the commands.

Sending SIGHUP without restart process ^

(EXPERIMENTAL)

watcher can send SIGHUP without process restarting.

    % watcher --signal=HUP --send_only -- ...

AUTHOR ^

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

SEE ALSO ^

Filesys::Notify::Simple

LICENSE ^

Copyright (C) Tokuhiro Matsuno

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

syntax highlighting: