Skip to content

Commit

Permalink
start returns promise now to allow await to be used
Browse files Browse the repository at this point in the history
  • Loading branch information
miketalley committed Jan 27, 2021
1 parent b812c86 commit 83dec68
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 83dec68

Please sign in to comment.