Console.log isn't uploaded and updated in web browser

Hi, my code does not seem to upload and update in the web browser console when saved and by using console.log despite it worked before.

It works when I close the VS code app and re-open it, but each time I write new code and want to upload it to the web browser it does not connect!

I’ve tried deleting caches and doing a hard reload both in the old and when opened a new chrome browser, but it still uploads old code and does not seem to be compatible to the code in VS code.

Would love some insight on the matter.

Best regards,
Magnus