Skip to content

Commit

Permalink
restart the server when adding a vhost
Browse files Browse the repository at this point in the history
  • Loading branch information
zroger committed Oct 1, 2011
1 parent af0fd41 commit e52b83c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions feather.drush.inc
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ function drush_feather_add($alias = NULL) {
}

$vhost->save();
if ($server->is_running()) {
$server->stop();
$server->start();
}
}

/**
Expand Down

0 comments on commit e52b83c

Please sign in to comment.