Server.js file is not registering changes with Shopify CLI

itsjustme
Tourist
4 1 1

Hi there,

I'm running into an issue using the Shopify CLI. I've setup a webhooks route for Checkout Updates, and I'm not seeing any changes I make to the server.js file being reflected. I'm still seeing old console logs and none of the new code I've written is taking effect. I've restarted my machine, updated my ngrok tunnel, uninstalled & reinstalled the app, tried multiple browsers, restarted the server, but nothing seems to make a difference. It keeps using a previous version of the file no matter what changes I make and I don't know how to fix it.

Is there a cached version of the server.js file somewhere that I can remove? Yesterday I noticed webhooks weren't responding properly, (I have to delete the browser cookie too get it to respond every time now), but that might be an unrelated issue.

0 Likes