Created
December 6, 2010 20:21
-
-
Save walf443/730884 to your computer and use it in GitHub Desktop.
auto-spork-make.pl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use Filesys::Notify::Simple; | |
use Spork; | |
use lib 'lib'; | |
while ( 1 ) { | |
my $watcher = Filesys::Notify::Simple->new(['.']); | |
$watcher->wait(sub {}); | |
Spork->new->load_hub->command->process('-make', @ARGV); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment