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

内存泄露 #4

Open
imccode opened this issue Sep 27, 2019 · 0 comments
Open

内存泄露 #4

imccode opened this issue Sep 27, 2019 · 0 comments

Comments

@imccode
Copy link

imccode commented Sep 27, 2019

macos: 10.13.4
nodejs: 12.10.0
koa: 2.8.1
webpack: 4.39.3

本地开发用的webpack-plugin-serve实现本地服务及热更新

复现条件:首次启动之后 -> 修改代码 -> 热更新中 -> 写入文件到磁盘(此状态产生内存泄露)

去除eruda-webpack-plugin 不存在泄露

具体配置:

    new ErudaWebapckPlugin({
      force: DEPLOY_ENV !== 'prd',
      plugins: ['fps', 'features', 'timing', 'memory', 'code', 'dom']
    })
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

1 participant