I need to serve multiple base directories like browsersync or polymer-cli do, so I can serve a polymer element that has two basedirectories (cwd and bower_components)
As far as I can tell, only one basedirectorie is supported in webpack-dev-server
contentBase supports an array of directories.
Also, please follow the issue template next time, it's there for a reason.
I followed the guidelines and there was no reference in the documentation that contentBase takes a array as well. So it was a feature request. Please make it clear in the api and documentation that contentBase can take a string or array. I will test this now and reopen the issue if it's not the case.
Most helpful comment
I followed the guidelines and there was no reference in the documentation that contentBase takes a array as well. So it was a feature request. Please make it clear in the api and documentation that
contentBasecan take a string or array. I will test this now and reopen the issue if it's not the case.