Files
mpsfun/build/dev-client.js
2017-06-07 19:48:16 +01:00

10 lines
245 B
JavaScript
Executable File

/* eslint-disable */
require('eventsource-polyfill')
var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
hotClient.subscribe(function (event) {
if (event.action === 'reload') {
window.location.reload()
}
})