Skip to content

Commit

Permalink
bring back Windows workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 16, 2015
1 parent e912853 commit 555fa94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Mojo/Server/Morbo.pm
Expand Up @@ -68,6 +68,9 @@ sub _manage {
$self->{modified} = 1;
}

# Windows workaround
delete $self->{worker} if $self->{worker} && !kill 0, $self->{worker};

$self->_reap;
$self->_spawn if !$self->{worker} && delete $self->{modified};
sleep 1;
Expand Down

0 comments on commit 555fa94

Please sign in to comment.