Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Output folder is not being cleaned up with --disk flag #335

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

Closed
Mortaro opened this issue Mar 6, 2023 · 1 comment
Closed

Output folder is not being cleaned up with --disk flag #335

Mortaro opened this issue Mar 6, 2023 · 1 comment

Comments

@Mortaro
Copy link
Member

Mortaro commented Mar 6, 2023

I use the writeToDisk option in development mode to preview the extensions with HMR, but the middleware was never cleaning up the real FS when MemFS unlinked files, causing the output folder to become bloated over time.

The solution is in this PR: webpack/webpack-dev-middleware#1472

@Mortaro
Copy link
Member Author

Mortaro commented May 21, 2023

Fixed in 0.18

@Mortaro Mortaro closed this as completed May 21, 2023
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