Skip to content

Commit

Permalink
Merge pull request #436 from HubSpot/start-return-value
Browse files Browse the repository at this point in the history
Start returns promise now to allow await to be used
  • Loading branch information
miketalley authored Jan 27, 2021
2 parents b812c86 + 83dec68 commit 2c851af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/serverless-dev-runtime/lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const start = async props => {
if (watch) {
watchFolder(functionPath, restartServer);
}
startServer();
return startServer();
};

module.exports = {
Expand Down

0 comments on commit 2c851af

Please sign in to comment.