AriaFallah / WebpackTutorial

A simple webpack tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple explanation for when Hot Module Replacement will fail and require a full page reload

AriaFallah opened this issue · comments

Needed this in my code:

if (module.hot) {
  module.hot.accept()
}

following up here: http://stackoverflow.com/questions/35255941/when-shouldnt-you-accept-webpack-hot-module-reloading