smallfishjs / smallfish

An out-of-the-box React framework based on umi.
https://smallfishjs.github.io/
51 stars 5 forks source link

fix: server port conflicted #29

Closed nikogu closed 5 years ago

nikogu commented 5 years ago

有用户反馈 smallfish 端口占用情况报错,经过简单调研应该是 umi 升级后如果是指定版本的 port 则不会触发自动端口检测,去掉指定则可以。

sorrycc commented 5 years ago

可以用 BASE_PORT 这个环境变量,相关 PR,https://github.com/umijs/umi/pull/3150