kos 的热更新插件 下载 $ npm install babel-plugin-kos-hmr --save-dev 使用 .babelrc { "plugins": ["kos-hmr"] } License MIT