aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xetc/wpdf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/wpdf b/etc/wpdf
index bbfae4b..6e8f951 100755
--- a/etc/wpdf
+++ b/etc/wpdf
@@ -68,7 +68,7 @@ for my $target (@ARGV) {
die "no dependencies found\n" if not keys %deptarget;
# make pdf on demand
-open my $p, '-|', 'watch', keys %deptarget
+open my $p, '-|', 'when', keys %deptarget
or die "could not start watch: $!\n";
while (<$p>) {
chomp;