Skip to content

Commit

Permalink
error when HMR is not enabled but entry added
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Aug 27, 2014
1 parent 2873d8f commit 6185147
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hot/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ if(module.hot) {
}
}
};
} else {
throw new Error("[HMR] Hot Module Replacement is disabled");
}

0 comments on commit 6185147

Please sign in to comment.