1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-11-16 08:27:01 +01:00
pleroma-fe/build/dev-client.js
2016-10-26 16:46:32 +02:00

10 lines
245 B
JavaScript

/* 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()
}
})