Revert "Merge pull request #13877 from axules/bugfix/hot-poll-infinity"
This reverts commit1c1af83e12
, reversing changes made to3f353b6ae2
.
This commit is contained in:
parent
6d24d111f8
commit
f6726a15d1
|
@ -13,7 +13,7 @@ if (module.hot) {
|
|||
module.hot
|
||||
.check()
|
||||
.then(function (updatedModules) {
|
||||
if (!updatedModules || updatedModules.length === 0) {
|
||||
if (!updatedModules) {
|
||||
log("warning", "[HMR] Cannot find update. Need to do a full reload!");
|
||||
log(
|
||||
"warning",
|
||||
|
|
|
@ -12,7 +12,7 @@ if (module.hot) {
|
|||
module.hot
|
||||
.check(true)
|
||||
.then(function (updatedModules) {
|
||||
if (!updatedModules || updatedModules.length === 0) {
|
||||
if (!updatedModules) {
|
||||
if (fromUpdate) log("info", "[HMR] Update applied.");
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ if (module.hot) {
|
|||
module.hot
|
||||
.check()
|
||||
.then(function (updatedModules) {
|
||||
if (!updatedModules || updatedModules.length === 0) {
|
||||
if (!updatedModules) {
|
||||
if (fromUpdate) log("info", "[HMR] Update applied.");
|
||||
else log("warning", "[HMR] Cannot find update.");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue