bigcommerce / checkout-js

Optimized One-Page Checkout
MIT License
112 stars 342 forks source link

Not Watching for code changes #1899

Closed zachadams16 closed 1 month ago

zachadams16 commented 1 month ago

When I run the code and make a change, its not hot rebuilding the code and showing the change I made. I remember it use to work like this when I developed a custom checkout 2 years ago, is there something I have to set up to get it to hot reload when developing locally?

bc-peng commented 1 month ago

I'm using hot rebuilding now. The command is npm run dev. In addition, serving checkout-js with npm run dev:server from the URL, http://127.0.0.1:8080/auto-loader.js.

zachadams16 commented 1 month ago

yep, i was using the -dev.js