25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
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. })