🌐 webpack dev server and hot module reloading

preview_player
Показать описание
STARTER FILES

------------------------------------------------------------------

Рекомендации по теме
Комментарии
Автор

Simply setting "plugins: [new HtmlWebpackPlugin()" didn't work for me. I had to add the "devServer" option and the "hot: true" property to it so it would work.

maxwellcoding
Автор

after running "npm start", how did it know to use the index.html in the dist folder, as opposed to the index.html in the root directory?

sammyiboi
Автор

that's actually live reloading not HMR

VeaceslavBARBARII
Автор

Thank you, I was searching about this one, God put you in the right road .

hossam_cj