Just try to running dev server on Windows. But I found some path errors from webpack. Here's my fix
According to Webpack document, the config like __dirname + "/client" is leading a wrong path in Windows. It should replaced with something like path.join(__dirname, "./client") to avoid problem.
running web-dev-server on windows seems required the contentBase option (otherwise it will listing the directory)
Hi,
Just try to running dev server on Windows. But I found some path errors from webpack. Here's my fix
__dirname + "/client"
is leading a wrong path in Windows. It should replaced with something likepath.join(__dirname, "./client")
to avoid problem.contentBase
option (otherwise it will listing the directory):D