From 92f612a995c54f7423bd2b760fb1a324044693a6 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Tue, 20 Mar 2018 14:48:34 -0400 Subject: Starting testing --- backend/src/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backend/src/index.js') diff --git a/backend/src/index.js b/backend/src/index.js index 3630b74..522fcfe 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -30,7 +30,9 @@ const server = new GraphQLServer({ // next(); // }); -server.start(() => console.log('Server is running on http://localhost:4000')); +server.start(deets => { + console.log(`Server is running on http://localhost:${deets.port}`); +}); // overwrite console.log const chalk = require('chalk'); -- cgit v1.3