devtools-core icon indicating copy to clipboard operation
devtools-core copied to clipboard

Absolute file URLs are not handled correctly on Windows

Open wartmanm opened this issue 7 years ago • 0 comments

development-server.js strips off the leading "file://", which leaves a path like "/C:/path/to/file" that Windows doesn't understand: image I think this could be fixed trivially by replacing url.replace("file://", "") with the built-in url.fileURLToPath function, but I'm not sure if the minimum supported version of Node would be new enough to provide it?

wartmanm avatar Jan 23 '19 16:01 wartmanm