projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Cosmetic: removed trailing whitespace
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine
/
HTTP
/
Restarter
/
Watcher.pm
diff --git
a/lib/Catalyst/Engine/HTTP/Restarter/Watcher.pm
b/lib/Catalyst/Engine/HTTP/Restarter/Watcher.pm
index
32ee0ed
..
8890646
100644
(file)
--- a/
lib/Catalyst/Engine/HTTP/Restarter/Watcher.pm
+++ b/
lib/Catalyst/Engine/HTTP/Restarter/Watcher.pm
@@
-45,7
+45,7
@@
sub watch {
my @changes;
my @changed_files;
-
+
my $delay = ( defined $self->delay ) ? $self->delay : 1;
sleep $delay if $delay > 0;
@@
-177,7
+177,7
@@
files
regex => '\.yml$|\.yaml$|\.conf|\.pm$',
delay => 1,
);
-
+
while (1) {
my @changed_files = $watcher->watch();
}