memory-fs icon indicating copy to clipboard operation
memory-fs copied to clipboard

Issue with spaces in file path (Windows)

Open dennispg opened this issue 7 years ago • 1 comments

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.

dennispg avatar Apr 10 '18 14:04 dennispg

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

alexander-akait avatar Feb 22 '19 14:02 alexander-akait