From 49016f7be33a2be438bb1d3f9ab868a17633a52e Mon Sep 17 00:00:00 2001 From: Lewis Moten Date: Sun, 1 Sep 2019 20:57:33 -0500 Subject: [PATCH] chore: add status message Issue #47 --- scripts/start.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/start.js b/scripts/start.js index fbba627..96cc396 100644 --- a/scripts/start.js +++ b/scripts/start.js @@ -19,7 +19,11 @@ const app = http.createServer((request, response) => { } }); }); -app.listen(3000); +const PORT = 3000; +app.listen(PORT); + +console.log(`Website running on port ${PORT}`); + const getContentType = ext => ({ ".js": "text/javascript",