Skip to content

Add notes about in-memory file system #52

@QWp6t

Description

@QWp6t

A common confusion among users is that certain files aren't written to the filesystem during development.

We can help clarify things by explaining to users that webpack-dev-middleware uses an in-memory filesystem.

The webpack-dev-middleware is a small middleware for a connect-based middleware stack. It uses webpack to compile assets in-memory and serve them. When a compilation is running every request to the served webpack assets is blocked until we have a stable bundle.

https://webpack.github.io/docs/webpack-dev-middleware.html

We could maybe research a plugin that will write the in-memory filesystem to disk anyway, such as: https://github.com/gajus/write-file-webpack-plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions