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
修改一处代码后,要过20s左右才可以热更新完成
andt pro v6 umijs v4
OS:
Node:
浏览器 | browser:
The text was updated successfully, but these errors were encountered:
antd pro v6热更新过慢的问题通常可以通过以下方法进行优化:
检查项目配置:确保项目的配置文件(例如webpack配置文件)中启用了热更新功能,并且配置正确。特别注意是否配置了合适的路径匹配规则,以确保只有需要热更新的文件被监视。
检查开发环境:确保您的开发环境正常运行,包括Node.js和浏览器版本。更新或切换到最新版本的Node.js和浏览器可能会提高热更新的速度。
优化构建配置:检查项目的构建配置,尝试优化构建过程以提高热更新的速度。可以尝试使用缓存或并行构建等技术来加快构建速度。
减小更新范围:如果可能的话,尽量减小热更新的范围。将需要热更新的文件的数量和大小减到最小,可以减少热更新的时间。
增加硬件资源:如果您的开发机器配置较低,可能会导致热更新速度较慢。可以尝试增加机器的内存、处理器等硬件资源来提高热更新的速度。
希望以上方法能够帮助您优化antd pro v6的热更新速度!如果问题仍然存在,请尝试在antd pro的GitHub issues中进行反馈,以获得更详细的帮助。
Sorry, something went wrong.
No branches or pull requests
🧐 问题描述 | Problem description
修改一处代码后,要过20s左右才可以热更新完成
💻 示例代码 | Sample code
🚑 其他信息 | Other information
andt pro v6
umijs v4
OS:
Node:
浏览器 | browser:
The text was updated successfully, but these errors were encountered: