What is the difference between loading my index html file vs. using http-server?

Viewed 925

I learning to code and have played around with npm, webpack, and http-server. I usually use http-server and then open up local host to see the changes that I've made through React that ends up on index.html. But I notice that this works too if I just open the index.html file in Chrome or another browser. What's the point of opening http-server?

1 Answers
Related