-
Notifications
You must be signed in to change notification settings - Fork 130
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
[Bug]: 本地开发 hmr 速度缓慢 #1397
Labels
Comments
可以把 tailwindcss 关闭再对比一下 |
没有复现链接的话很难排查 |
我把 taildwind 从 postcss.confing.js 配置中移除,发现几乎没效果,还是保持在 3s 以上,下面是 postcss.config 的配置: module.exports = {
plugins: {},
}; |
从现有信息看可能的原因有:
你可以按照这两个因素排查下 |
Hello @iwtem. Please provide a reproduction repository or online demo. For background, see Why reproductions are required. Thanks ❤️ |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Details
项目采用的是 monorepo 代码管理模式,大致的目录结构如下:
在从 rspack 替换到 rsbuild 后,发现热更新的时间增加了 3.x,之前平均保持在 1s - 2s 之间,下面是现在的热更新的时间截图:
下面是我的 rsbuild 配置:
有考虑过可能和 taildwind 的 content 配置有关系,但是删除部分元素后,没有明显的效果,下面是我的 taildwind 配置:
Reproduce link
1
Reproduce Steps
项目启动后,之后的热更新就会很慢
The text was updated successfully, but these errors were encountered: