Absolute file URLs are not handled correctly on Windows
wartmanm opened this issue · comments
development-server.js strips off the leading "file://", which leaves a path like "/C:/path/to/file" that Windows doesn't understand:
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?