Skip to content

Instantly share code, notes, and snippets.

@walf443 walf443/gist:730884
Created Dec 6, 2010

Embed
What would you like to do?
auto-spork-make.pl
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
You can’t perform that action at this time.