Recommend http-server that allows hot updates based on nodejs?

as the title, the current use of http-server has a very inconvenient place is that the browser does not automatically refresh after code modification, and webpack-dev-server needs to be used and configured in the npm project, is there no http-server that can hot update and support zero configuration at the same time?

"(please-_ _;)"
Jun.23,2022

Hot updates on front-end pages:

  1. live-server
  2. anywhere

node hot updates:

  1. nodemon
  2. supervisor

if you just look at the preview of the page, the preview of Dreamweaver CC comes with hot updates.


problem solving

download and install nodemon

principle

  • node comes with http service
  • this is just listening for project file changes
  • automatically restart http Service
I am using this at the moment

clipboard.png

Menu