Skip to content

Instantly share code, notes, and snippets.

@walf443
Created December 6, 2010 20:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walf443/730884 to your computer and use it in GitHub Desktop.
Save walf443/730884 to your computer and use it in GitHub Desktop.
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