Skip to content
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

更改mock文件,提示编译成功,但是浏览器报错404 #123

Open
yizhengfeng-jj opened this issue Aug 12, 2020 · 2 comments
Open

Comments

@yizhengfeng-jj
Copy link

yizhengfeng-jj commented Aug 12, 2020

问题

我现在使用的是之前的版本webpack-api-mocker,第一次启动的时候是好的,但是当我修改mock的时候,shell里面提示编译成功了,但是浏览器刷新之后,提示404,只有再次重新npm start一次才可以,这个和webpack-api-mocker版本有关系么,现在已经改名成了mocker-api了

图片

image

image

期望

我希望能得到一些思路,哪里出错了,或者说我应该怎么去改,万分感谢

@jaywcjlove
Copy link
Owner

@yizhengfeng-jj 这都迭代了好多个版本了,我都没有看到源码怎么告诉你错误呢?

@yizhengfeng-jj
Copy link
Author

@yizhengfeng-jj 这都迭代了好多个版本了,我都没有看到源码怎么告诉你错误呢?

不好意思我表达清楚,但是我刚刚换成了mocker-api还是有这个问题,这是我入口配置
image

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants