function upToDate(hash) {
  if (hash) lastHash = hash;
  return lastHash == __webpack_require__.h();
}
Handles compilation messages from Webpack.
Integrates with a compile error overlay.
@param {*} message A Webpack HMR message sent via WebSockets.
@returns {void}