webpack / memory-fs

[DEPRECATED use memfs instead] A simple in-memory filesystem. Holds data in a javascript object.
MIT License
881 stars 88 forks source link

Issue with spaces in file path (Windows) #59

Open dennispg opened 6 years ago

dennispg commented 6 years ago

I'm not sure if this issue is with webpack-dev-server or memory-fs, however when I serve from a file path which includes spaces on Windows things do not work.

My bundles generate 404 when served through webpack-dev-server. I tried to debug and it seemed like at some point the spaces were being converted to %20, and when readdirSync is called from here it is trying to do a check which fails because it is comparing the file path with spaces against the file path with %20.

I hope this is enough information to go on, but if not I will try to put together a minimal example reproducing the issue.

alexander-akait commented 5 years ago

Problem was in webpack-dev-middleware and already fixed, please update deps