You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 rivejä
258 B

  1. /* eslint-disable */
  2. 'use strict'
  3. require('eventsource-polyfill')
  4. var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
  5. hotClient.subscribe(function (event) {
  6. if (event.action === 'reload') {
  7. window.location.reload()
  8. }
  9. })