Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
set $0 consistently in morbo and hypnotoad
  • Loading branch information
kraih committed Nov 11, 2015
1 parent 2cff7b2 commit 0b68e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Server/Morbo.pm
Expand Up @@ -36,7 +36,7 @@ sub run {
$self->{finished} = 1;
kill 'TERM', $self->{worker} if $self->{worker};
};
unshift @{$self->watch}, $app;
unshift @{$self->watch}, $0 = $app;
$self->{modified} = 1;

# Prepare and cache listen sockets for smooth restarting
Expand Down

0 comments on commit 0b68e56

Please sign in to comment.