Skip to content

Commit

Permalink
When running in named pipe mode, touch the pipe after generating, to …
Browse files Browse the repository at this point in the history
…confound anything caching the mtime.
  • Loading branch information
norm committed Aug 18, 2010
1 parent b2420f0 commit 5daaefa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions p5-CSS-Prepare/bin/cssprepare
Expand Up @@ -136,6 +136,9 @@ sub run_pipe {
print {$pipe} $output;
close $pipe;

# touch the pipe to confound anything caching based upon the mtime
utime undef, undef, $pipe;

# avoid dup signals
sleep 1;
}
Expand Down

0 comments on commit 5daaefa

Please sign in to comment.