jinjianback1.1/build/dev-client.js

10 lines
245 B
JavaScript
Raw Normal View History

2017-06-26 13:38:24 +08:00
/* 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()
}
})