mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-01-03 05:45:14 +00:00
92d2045735
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
9 lines
245 B
JavaScript
9 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()
|
|
}
|
|
})
|