UNPKG

chameleon-tool

Version:

chameleon 脚手架工具

10 lines (8 loc) 233 B
/* eslint-disable */ require('eventsource-polyfill') var hotClient = require('webpack-hot-middleware/client?reload=true') hotClient.subscribe(function (event) { if (event.action === 'reload') { window.location.reload() } })