Skip to content

Commit

Permalink
Merge c436ec9 into 1af1c37
Browse files Browse the repository at this point in the history
  • Loading branch information
arash16 committed Mar 8, 2021
2 parents 1af1c37 + c436ec9 commit 3ba0754
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,10 @@ module.exports = function (mixinOptions) {
if (!this.shouldUpdateGraphqlSchema && this.graphqlHandler) {
return;
}

if (this.apolloServer) {
this.apolloServer.stop();
}

// Create new server & regenerate GraphQL schema
this.logger.info(
Expand Down

0 comments on commit 3ba0754

Please sign in to comment.