Why use webpack to start local dev-server?

Why can"t we just right-click to open the html page after executing the build command? Why start dev-server locally? Have been troubled for a long time

Feb.15,2022

in more build projects, static files after build cannot be opened directly by right-clicking html, such as scaffolding such as vue-cli3.

dev-server can help with better development, such as adding hot-loader. The configuration of
webpack can also better track code errors.

not at all. Even if you change the letter, you have to build it, right?


what's bothering you? why not? who says no? Of course, you can not enable dev-server ah!
but there is no hot update, tens of millions of lines of items have to change a letter build once to see the results, if you think this way of development is very pleasant, just do it!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bfcb-2c2e6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bfcb-2c2e6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?