-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
master 分支mock-server 热更新兼容问题及建议 #1860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
欢迎pr |
有点忙,争取本周抽空给PR |
win10下还是热更新失效。 |
@dingangang 我晚点找台windows测一下。 |
大佬,我在ubuntu上跑了一下是正常的。win10还是不正常。 |
感谢你的反馈。 |
mock-server.js: 我的Windows7正常了 |
win10下我修改后还是不正常。 |
if (i.includes('/mock') || i.includes('\\mock') || i.includes('./mock')) |
Bug report(问题描述)
问题(/mock/mock-server.js )
优化建议
现有mock api路由前缀固定,并在mock-server热更新代码中写死,不太适用于前后端项目,联调阶段(一键切换联调接口,特别是后端微服务化之后)
解决:
Steps to reproduce(问题复现步骤)
见问题描述
Screenshot or Gif(截图或动态图)
无
Link to minimal reproduction(最小可在线还原demo)
无
Other relevant information(格外信息)
The text was updated successfully, but these errors were encountered: