跳板机管理web端
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.

9 lines
245 B

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