mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
* wip: vuex structure * add missing files * client: do not fail dev build on eslint error * eslint does not block compilation, mount app when data is ready * eslintrc.js -> eslintrc
10 lines
259 B
JavaScript
10 lines
259 B
JavaScript
/* eslint-disable */
|
|
require('eventsource-polyfill')
|
|
var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true&overlay=false')
|
|
|
|
hotClient.subscribe(function (event) {
|
|
if (event.action === 'reload') {
|
|
window.location.reload()
|
|
}
|
|
})
|