From c8fd9d423da7c1b2ffed87a85c5a1900e34aba6f Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 5 Oct 2020 15:10:15 +0200 Subject: [PATCH] log requests to dev server --- scripts/serve-local.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/serve-local.js b/scripts/serve-local.js index b6ff8cf3..ae07d180 100644 --- a/scripts/serve-local.js +++ b/scripts/serve-local.js @@ -35,6 +35,7 @@ const serve = serveStatic( // Create server const server = http.createServer(function onRequest (req, res) { + console.log(req.method, req.url); serve(req, res, finalhandler(req, res)) });