mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-14 12:34:46 +00:00
10 lines
245 B
JavaScript
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()
|
||
|
}
|
||
|
})
|