ElemeFE / page-skeleton-webpack-plugin

Webpack plugin to generate the skeleton page automatically
MIT License
2.8k stars 393 forks source link

官方最新提交的版本没有对端口冲突问题进行修复 #107

Open sd13142dll opened 5 years ago

sd13142dll commented 5 years ago

目前官方已经更新修复

https://github.com/ElemeFE/page-skeleton-webpack-plugin/pull/101/commits/cd6e14af157bbee9d3442e7b5fd0df79c2b43ce3

Originally posted by @yangfandashuaige in https://github.com/ElemeFE/page-skeleton-webpack-plugin/issues/97#issuecomment-497638104

if (!this.server) { const server = this.server = new Server(this.options) // eslint-disable-line no-multi-assign server.listen().catch(err => server.log.warn(err)) } 这个判断代码在最新版本中并没有加上

klren0312 commented 5 years ago

pr还没合并呢 https://github.com/ElemeFE/page-skeleton-webpack-plugin/pull/101