We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
npm run dev:alipay之后,每次修改保存都要重新启动server,导致编译巨慢
新建项目,编译成alipay,在支付宝ide中显示效果,然后修改taro项目中随意a.js文件(比如加个空格)然后保存,taro监听到文件变动,编译成a.axml/a.js等等,观察支付宝模拟器日志,发现又重新启动了server,导致一个空格编译需要一分钟
像在支付宝ide中修改axml一样,一两秒就能编译出来
上图中,左边是taro修改文件编译时模拟器日志 右边是支付宝ide中修改axml日志
对比发现taro在Dev server is ready on http://127.0.0.1:64180到Compiled with warnings.完成 需要一分钟左右
Taro v1.3.19
The text was updated successfully, but these errors were encountered:
CC @luckyadam
Sorry, something went wrong.
欢迎提交 Issue~
如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏
如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。
Good luck and happy coding~
这是支付宝开发者工具的问题(一分钟确实太久,你的电脑应该要换了
luckyadam
No branches or pull requests
问题描述
npm run dev:alipay之后,每次修改保存都要重新启动server,导致编译巨慢
复现步骤
新建项目,编译成alipay,在支付宝ide中显示效果,然后修改taro项目中随意a.js文件(比如加个空格)然后保存,taro监听到文件变动,编译成a.axml/a.js等等,观察支付宝模拟器日志,发现又重新启动了server,导致一个空格编译需要一分钟
期望行为
像在支付宝ide中修改axml一样,一两秒就能编译出来
报错信息
上图中,左边是taro修改文件编译时模拟器日志
右边是支付宝ide中修改axml日志
对比发现taro在Dev server is ready on http://127.0.0.1:64180到Compiled with warnings.完成 需要一分钟左右
系统信息
Taro v1.3.19
The text was updated successfully, but these errors were encountered: