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
开启 forkTSChecker: {} 后,第一次热更新特别慢。
forkTSChecker: {}
max 模板项目
#10909 (comment)
很忙,目前没深入研究,但经尝试,手动配置忽略 node_modules 是不会有减速的问题的:
node_modules
// .umirc.ts chainWebpack(config) { config.watchOptions({ ignored: /node_modules/, }); },
关于 watchOptions.ignored ,如果内置的话,可能影响 link 调试、monorepo 等情况,有待后续全面的调试后再下结论。
watchOptions.ignored
最后更新日期:2023-04-26
The text was updated successfully, but these errors were encountered:
根据你提供的配置,第一次热更新很慢的问题可以避开,谢谢。 在Umi 3没有这个问题,配置也是默认开启的。期待后续优化
Sorry, something went wrong.
No branches or pull requests
What happens?
开启
forkTSChecker: {}
后,第一次热更新特别慢。Mini Showcase Repository(REQUIRED)
max 模板项目
How To Reproduce
forkTSChecker: {}
Context
来源
#10909 (comment)
解法
很忙,目前没深入研究,但经尝试,手动配置忽略
node_modules
是不会有减速的问题的:关于
watchOptions.ignored
,如果内置的话,可能影响 link 调试、monorepo 等情况,有待后续全面的调试后再下结论。The text was updated successfully, but these errors were encountered: