Skip to content

Commit

Permalink
Merge branch '2.7.x'
Browse files Browse the repository at this point in the history
Closes gh-31985
  • Loading branch information
wilkinsona committed Aug 4, 2022
2 parents 0c01a17 + 8d93040 commit a627192
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public void afterPropertiesSet() throws Exception {
void startServer() {
if (this.server != null) {
try {
int port = this.server.getPort();
if (!this.server.isStarted()) {
this.server.start();
port = this.server.start();
}
logger.info(LogMessage.format("LiveReload server is running on port %s", this.server.getPort()));
logger.info(LogMessage.format("LiveReload server is running on port %s", port));
}
catch (Exception ex) {
logger.warn("Unable to start LiveReload server");
Expand Down

0 comments on commit a627192

Please sign in to comment.